Skip to content

Commit 1b48437

Browse files
author
Abhishek Singh
committed
Coverage process
1 parent 78e6d42 commit 1b48437

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
language: python
22
os:
33
- linux
4+
before_install:
5+
- export COVERAGE_PROCESS_START="${TRAVIS_BUILD_DIR}/.coveragerc"
6+
- export PATH="$PWD/.travis:$PATH"
47
python:
58
- "3.6"
69
- "3.7"
@@ -10,10 +13,7 @@ script:
1013
- pip install nose
1114
- pip install coverage
1215
- pip install coveralls
13-
- python -m site
14-
- echo ${TRAVIS_BUILD_DIR}
15-
- ls -art ${TRAVIS_BUILD_DIR}
16-
- ls -lrt ${TRAVIS_BUILD_DIR}
16+
- cp "${TRAVIS_BUILD_DIR}/.travis/sitecustomize.py" ./lib/python
1717
- python setup.py nosetests --with-coverage
1818
- coverage run --concurrency=multiprocessing -m unittest discover -s sqlite_rx/tests
1919
- coverage combine

.travis/sitecustomize.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
import coverage
2+
coverage.process_startup()

0 commit comments

Comments
 (0)