Browse Source

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

Godzil 4 years ago
parent
commit
5e295c06b2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .travis.yml

+ 1 - 1
.travis.yml

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