Kaynağa Gözat

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

Godzil 4 yıl önce
ebeveyn
işleme
5e295c06b2
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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)