ci should prefer nosetests
authorsalimfadhley <sal@stodge.org>
Wed, 12 Jun 2013 22:59:28 +0000 (23:59 +0100)
committersalimfadhley <sal@stodge.org>
Wed, 12 Jun 2013 22:59:28 +0000 (23:59 +0100)
.travis.yml
setup.py

index 81f9959..03c3be9 100644 (file)
@@ -2,6 +2,9 @@ language: python
 python:
   - "2.7"
 # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
-install: python setup.py develop
+install:
+    - "python setup.py develop"
+    - "easy install mock"
+    - "easy install nose"
 # command to run tests, e.g. python setup.py test
-script:  python setup.py test
+script:  python setup.py nosetests
index 83eda98..63bd1b7 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -35,4 +35,5 @@ setup(name=PROJECT_NAME.lower(),
       url=PROJECT_URL,
       description=SHORT_DESCRIPTION,
       long_description=DESCRIPTION,
+      use_2to3 = True, # Experimental support for Python 3
       )