Check whether travis build is PR for coveralls.
To prevent double messages and double builds.
This commit is contained in:
parent
fb71eb8f01
commit
784660c8ad
1 changed files with 6 additions and 2 deletions
|
@ -11,8 +11,12 @@ script:
|
||||||
- ./test-docs.sh
|
- ./test-docs.sh
|
||||||
|
|
||||||
after_script:
|
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:
|
notifications:
|
||||||
irc:
|
irc:
|
||||||
|
|
Loading…
Reference in a new issue