on master help sign in
Check whether travis build is PR for coveralls.
784660cJulian K. Arni
.travis.yml+6−2
@@ -11,8 +11,12 @@ script:
11 - ./test-docs.sh
11 - ./test-docs.sh
12
12
13after_script:
13after_script:
14+ - |
15+ if [ "$TRAVIS_PULL_REQUEST" -eq "$TRAVIS_PULL_REQUEST" ] 2>/dev/null ; then
14− - cabal install hpc-coveralls
16+ cabal install hpc-coveralls
15− - hpc-coveralls --exclude-dir=test spec
17+ hpc-coveralls --exclude-dir=test spec
18+ fi
19+
16
20
17notifications:
21notifications:
18 irc:
22 irc: