Skip to content

Commit f804654

Browse files
committed
Updated travis configuration to use pytest
Signed-off-by: Guyzmo <[email protected]>
1 parent 6fd4bf2 commit f804654

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.travis.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@ python:
55
- '3.4'
66
- '3.5'
77
install:
8-
- pip install -r requirements.txt
9-
- pip install -r test_requirements.txt
10-
- pip install coveralls
8+
- virtualenv var
9+
- var/bin/pip install -U pip
10+
- var/bin/pip install -r requirements.txt
11+
- var/bin/pip install -r test_requirements.txt
12+
- var/bin/pip install coveralls pytest pytest-cov
1113
script:
12-
coverage run --source=gogs_client setup.py test
14+
var/bin/coverage run --source=gogs_client var/bin/pytest tests --cov=gogs_client --cov-report term-missing
1315
after_success:
1416
coveralls
1517
deploy:

0 commit comments

Comments
 (0)