diff --git a/.codecov.yml b/.codecov.yml new file mode 100644 index 000000000..5f9c5f6c8 --- /dev/null +++ b/.codecov.yml @@ -0,0 +1,9 @@ +coverage: + range: "20...100" + + ignore: + - ext/.* + +comment: + behavior: once + require_changes: yes diff --git a/.travis.yml b/.travis.yml index a8f1cde70..b8bff4a8e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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