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