Skip to content

Commit

Permalink
Merge pull request #370 from joernhees/nose-timer
Browse files Browse the repository at this point in the history
nose-timer in travis builds
  • Loading branch information
joernhees committed Mar 4, 2014
2 parents b7fa8d6 + b582058 commit 36cb307
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ install:
- if [[ ${TRAVIS_PYTHON_VERSION%%.*} == '2' ]]; then pip install --use-mirrors --default-timeout 60 -r requirements.py2.txt; pip install --use-mirrors --default-timeout 60 "html5lib";fi
- if [[ ${TRAVIS_PYTHON_VERSION%%.*} == '3' ]]; then pip install --use-mirrors --default-timeout 60 -r requirements.py3.txt; fi
- if [[ $TRAVIS_PYTHON_VERSION == 'pypy' ]]; then pip install --upgrade "https://bitbucket.org/gjhiggins/isodate/downloads/isodate-0.4.8.tar.gz"; pip install --use-mirrors --default-timeout 60 "elementtree"; fi
- if [[ $TRAVIS_PYTHON_VERSION != '2.5' ]]; then pip install --use-mirrors --default-timeout 60 coverage coveralls && export HAS_COVERALLS=1; fi
- if [[ $TRAVIS_PYTHON_VERSION != '2.5' ]]; then pip install --use-mirrors --default-timeout 60 coverage coveralls nose-timer && export HAS_COVERALLS=1; fi
- python setup.py install

before_script:
Expand All @@ -26,8 +26,8 @@ script:
# Must run the tests in build/src so python3 doesn't get confused and run
# the python2 code from the current directory instead of the installed
# 2to3 version in build/src.
- if [[ ${TRAVIS_PYTHON_VERSION%%.*} == '2' ]]; then nosetests --with-coverage --cover-tests --cover-package=rdflib ; fi
- if [[ ${TRAVIS_PYTHON_VERSION%%.*} == '3' ]]; then nosetests --with-coverage --cover-tests --cover-package=build/src/rdflib --where=./build/src; fi
- if [[ ${TRAVIS_PYTHON_VERSION%%.*} == '2' ]]; then nosetests --with-timer --timer-top-n 42 --with-coverage --cover-tests --cover-package=rdflib ; fi
- if [[ ${TRAVIS_PYTHON_VERSION%%.*} == '3' ]]; then nosetests --with-timer --timer-top-n 42 --with-coverage --cover-tests --cover-package=build/src/rdflib --where=./build/src; fi

after_success:
- if [[ $HAS_COVERALLS ]] ; then coveralls ; fi
Expand Down

0 comments on commit 36cb307

Please sign in to comment.