From: salimfadhley Date: Wed, 12 Jun 2013 22:59:28 +0000 (+0100) Subject: ci should prefer nosetests X-Git-Tag: v0.2.23~202 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1e3dec59b20e03abcdb77900b4db8f39d1d1f17d;p=tools%2Fpython-jenkinsapi.git ci should prefer nosetests --- 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 )