Skip to content

Commit

Permalink
Updated travis configuration to use pytest
Browse files Browse the repository at this point in the history
Signed-off-by: Guyzmo <[email protected]>
  • Loading branch information
guyzmo committed May 8, 2017
1 parent f872a2c commit 3c2cddc
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ python:
- '3.4'
- '3.5'
install:
- pip install -r requirements.txt
- pip install -r test_requirements.txt
- pip install coveralls
- virtualenv var
- var/bin/pip install -U pip
- var/bin/pip install -r requirements.txt
- var/bin/pip install -r test_requirements.txt
- var/bin/pip install coveralls pytest pytest-cov
script:
coverage run --source=gogs_client setup.py test
var/bin/coverage run --source=gogs_client var/bin/pytest tests --cov=gogs_client --cov-report term-missing
after_success:
coveralls
deploy:
Expand Down

0 comments on commit 3c2cddc

Please sign in to comment.