Travis should only run the codecov script on linux

0.8
Bruno Van de Velde 2015-11-04 14:46:32 +01:00
parent ffa1863812
commit 58c233c6c2
1 changed files with 4 additions and 1 deletions

View File

@ -43,4 +43,7 @@ script:
fi
after_success:
- bash <(curl -s https://codecov.io/bash) -x gcov-5 -a "-s /home/travis/build/texus/TGUI -pr"
- >
if [[ $TRAVIS_OS_NAME == 'linux' ]]; then
bash <(curl -s https://codecov.io/bash) -x gcov-5 -a "-s /home/travis/build/texus/TGUI -pr"
fi