diff --git a/.travis.yml b/.travis.yml index dd34bd61..dfcfca37 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,11 +11,11 @@ script: - ./test-docs.sh after_script: - - | - if [ "$TRAVIS_PULL_REQUEST" -eq "$TRAVIS_PULL_REQUEST" ] 2>/dev/null ; then - cabal install hpc-coveralls - hpc-coveralls --exclude-dir=test spec - fi + - | + if [ "$TRAVIS_PULL_REQUEST" -eq "$TRAVIS_PULL_REQUEST" ] 2>/dev/null || [ "$TRAVIS_BRANCH" == "master" ] ; then + cabal install hpc-coveralls + hpc-coveralls --exclude-dir=test spec + fi notifications: