John Vandenberg has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/186215

Change subject: Use setup.py nosetests
......................................................................

Use setup.py nosetests

Dependencies are automatically managed by setup.py

Change-Id: I5c7d77e77adfdfcaa2258878bce8b49df0f46728
---
M .travis.yml
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/15/186215/1

diff --git a/.travis.yml b/.travis.yml
index 414475a..95edf58 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -13,7 +13,7 @@
 
 install:
   - if [[ "$SITE_ONLY" == '1' ]]; then export USE_NOSE=1; fi
-  - if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install ordereddict 
unittest2==0.6.0; fi
+  - if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install 
unittest2==0.6.0; fi
   - pip install six
   - export GITHUB_USER=`echo $TRAVIS_REPO_SLUG | cut -d '/' -f 1`
   - mkdir ~/.pywikibot
@@ -51,9 +51,9 @@
   - if [[ "$USE_NOSE" == "1" ]]; then
       if [[ "$SITE_ONLY" == "1" ]]; then
         echo "Running site tests only code ${LANGUAGE} on family ${FAMILY}" ;
-        nosetests tests -v -a "family=$FAMILY,code=$LANGUAGE" ;
+        python setup.py nosetests -v -a "family=$FAMILY,code=$LANGUAGE" ;
       else
-        nosetests tests -v ;
+        python setup.py nosetests -v ;
       fi ;
     else
       python setup.py test ;

-- 
To view, visit https://gerrit.wikimedia.org/r/186215
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5c7d77e77adfdfcaa2258878bce8b49df0f46728
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: John Vandenberg <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to