From 1e3dec59b20e03abcdb77900b4db8f39d1d1f17d Mon Sep 17 00:00:00 2001 From: salimfadhley Date: Wed, 12 Jun 2013 23:59:28 +0100 Subject: [PATCH] ci should prefer nosetests --- .travis.yml | 7 +++++-- setup.py | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 81f9959..03c3be9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/setup.py b/setup.py index 83eda98..63bd1b7 100644 --- 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 ) -- 2.7.4