Skip to content

Commit 7d2e302

Browse files
committed
Updated for use with coveralls
1 parent 6c05f26 commit 7d2e302

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.coveralls.yml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
repo_token: bFrSJQVGy70uL6ZoYvrWXgXBTFQojp9SR
2+
service_name: travis-ci

.travis.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@ install:
2222
- conda info -a
2323

2424
# Replace dep1 dep2 ... with your dependencies
25-
- conda create -q -n test-environment -c conda-forge python=$TRAVIS_PYTHON_VERSION sixs pysolar numpy scipy pandas matplotlib pytest
25+
- conda create -q -n test-environment -c conda-forge python=$TRAVIS_PYTHON_VERSION sixs pysolar numpy scipy pandas matplotlib pytest pytest-cov
2626
- source activate test-environment
2727
- python setup.py install
2828

2929
script:
3030
# Your test script goes here
31-
python -m pytest -v --junitxml=result.xml
31+
python -m pytest -v --junitxml=result.xml --cov Py6S --cov-report term-missing
32+
after_success:
33+
- coveralls

0 commit comments

Comments
 (0)