[CI] Upload coverage data to codecov.io

This commit is contained in:
Ray Speth 2016-12-09 23:29:33 -05:00
parent fa699be425
commit 733ec18601
2 changed files with 14 additions and 1 deletions

9
.codecov.yml Normal file
View file

@ -0,0 +1,9 @@
coverage:
range: "20...100"
ignore:
- ext/.*
comment:
behavior: once
require_changes: yes

View file

@ -29,5 +29,9 @@ before_script: |
fi
rm -f cantera.conf
script:
- scons build -j2 VERBOSE=y python_package=full python3_package=y blas_lapack_libs=lapack,blas optimize=n
- scons build -j2 VERBOSE=y python_package=full python3_package=y blas_lapack_libs=lapack,blas optimize=n coverage=y
- scons test
after_success: |
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
bash <(curl -s https://codecov.io/bash)
fi