Setup a nosetests config file for Travis builds.
authorJoshua Roesslein <jroesslein@opengov.com>
Mon, 1 Dec 2014 17:14:16 +0000 (11:14 -0600)
committerJoshua Roesslein <jroesslein@opengov.com>
Mon, 1 Dec 2014 17:14:16 +0000 (11:14 -0600)
.travis.yml
tests/travis-tests.cfg [new file with mode: 0644]

index e909e8e30c6d656f815e4486fb5f2168087e701c..c8c9512a4337a14cf9221093fbe32dcdec6d9397 100644 (file)
@@ -35,7 +35,7 @@ install:
   - pip install -r test_requirements.txt -r requirements.txt
 
 script:
-  - nosetests -v --with-coverage tests.test_api tests.test_utils
+  - nosetests -v --with-coverage -c tests/travis-tests.cfg
 
 after_success: if [[ "$TRAVIS_PULL_REQUEST" == "false" ]]; then coveralls; fi
 
diff --git a/tests/travis-tests.cfg b/tests/travis-tests.cfg
new file mode 100644 (file)
index 0000000..20479d4
--- /dev/null
@@ -0,0 +1,2 @@
+[nosetests]
+tests=tests.test_api,tests.test_utils