Seems that coveralls don't like the OS X build, so let's only push when build from linux

This commit is contained in:
Godzil
2020-02-17 23:28:38 +00:00
parent 4dd7a3af39
commit 5e295c06b2

View File

@@ -25,7 +25,7 @@ script:
- cd coverage - cd coverage
- cmake .. -DCOVERALLS=ON -DCMAKE_BUILD_TYPE=Debug - cmake .. -DCOVERALLS=ON -DCMAKE_BUILD_TYPE=Debug
- cmake --build . - cmake --build .
- cmake --build . --target coveralls - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; cmake --build . --target coveralls
after_success: after_success:
- bash <(curl -s https://codecov.io/bash) - bash <(curl -s https://codecov.io/bash)