Skip to content

Commit cdc3bdc

Browse files
committed
Change Travis testing to use Coveralls as well
1 parent a879f2c commit cdc3bdc

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

.coveragerc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[run]
2+
source = drmaa
3+
omit =
4+
*/python?.?/*
5+
*/lib-python/?.?/*.py
6+
*/lib_pypy/_*.py
7+
*/site-packages/ordereddict.py
8+
*/site-packages/nose/*
9+
*/unittest2/*

.travis.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,30 @@ language: python
22
python:
33
- 2.6
44
- 2.7
5-
- 3.2
5+
- 3.3
66

77
notifications:
88
email: false
99

1010
# Install stuff
11+
virtualenv:
12+
system_site_packages: true
1113
before_install:
1214
- travis/install_sge.sh
1315
- export GRID_MAP_REDIS_PORT=12345
1416
- export SGE_ROOT=/var/lib/gridengine
1517
- export SGE_CELL=default
1618
- export DRMAA_LIBRARY_PATH=/usr/lib/libdrmaa.so.1.0
1719
install:
20+
- pip install python-coveralls --use-mirrors
21+
- pip install nose-cov --use-mirrors
1822
- python setup.py install
1923

2024
# Run test
2125
script:
22-
- nosetests -d -v
26+
- nosetests -d -v --with-cov --cov drmaa --cov-config .coveragerc --logging-level=DEBUG
27+
28+
# Calculate coverage
29+
after_success:
30+
- coveralls --config_file .coveragerc
2331

0 commit comments

Comments
 (0)