Run coveralls for master too

This commit is contained in:
Julian K. Arni 2015-02-21 17:41:30 +01:00
parent a2f95f04c4
commit d824e7ed3c

View file

@ -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: