[CI] Upload coverage data to codecov.io
This commit is contained in:
parent
fa699be425
commit
733ec18601
2 changed files with 14 additions and 1 deletions
9
.codecov.yml
Normal file
9
.codecov.yml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
coverage:
|
||||
range: "20...100"
|
||||
|
||||
ignore:
|
||||
- ext/.*
|
||||
|
||||
comment:
|
||||
behavior: once
|
||||
require_changes: yes
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue