Archived
1
0

Added a basic testing structure

This commit is contained in:
Jip J. Dekker 2014-06-04 12:18:15 +02:00
parent d4a0ffdff3
commit 7a8c0fe6ad
3 changed files with 21 additions and 0 deletions

15
.travis.yml Normal file
View File

@ -0,0 +1,15 @@
# Config file for automatic testing at travis-ci.org
language: python
python: 2.7
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- pip install flake8 Scrapy docopt
# command to run tests, e.g. python setup.py test
script:
- nosetests tests
- make lint
after_success: coveralls

1
tests/__init__.py Normal file
View File

@ -0,0 +1 @@
__author__ = 'jdekker'

View File

@ -0,0 +1,5 @@
import unittest
class TestSourceloader(unittest.TestCase):
pass