Skip to content

Commit 42de385

Browse files
committed
adding coversalls support to travis
1 parent 7cf755b commit 42de385

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

.gitignore

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
*.pyc
2-
__pycache__
3-
*.log
1+
*.pyc
2+
__pycache__
3+
*.log
44
/distribute-0.6.35.tar.gz
55
/distribute-0.6.35-py2.7.egg
66
/pytest_qt.egg-info
77
/build
88
/dist
99
.env*
10+
.coverage

.travis.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,17 @@ install:
3131
- pip uninstall -y pytest
3232
- pip install pytest==$PYTEST_VERSION
3333

34+
# others
35+
- pip install coveralls --use-wheel
36+
3437
before_script:
3538
- export DISPLAY=:99.0
3639
- sh -e /etc/init.d/xvfb start
3740
- sleep 3
3841

3942
script:
4043
- python setup.py develop
41-
- py.test
44+
- coverage run --source=pytestqt py.test
45+
46+
after_success:
47+
- coveralls

0 commit comments

Comments
 (0)