Skip to content

Commit

Permalink
update travis to use pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
tito committed Mar 24, 2017
1 parent e01dd05 commit 32314e6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ install:
- python setup.py install

script:
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then python -m unittest discover; fi
- if [[ $TRAVIS_PYTHON_VERSION == 3* ]]; then python -m unittest discover; fi
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then py.test -v; fi
- if [[ $TRAVIS_PYTHON_VERSION == 3* ]]; then py.test -v; fi
1 change: 1 addition & 0 deletions requirements/py2kreqs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ greenlet>=0.4.9
mock>=2.0.0
Cython>=0.22.1
gevent>=1.1.1
pytest>=3.0.7
1 change: 1 addition & 0 deletions requirements/py3kreqs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ mock>=2.0.0
asyncio>=3.4.3
Cython>=0.22.1
gevent>=1.1.1
pytest>=3.0.4

0 comments on commit 32314e6

Please sign in to comment.