git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Do not enable library coverage during tests if tagging.
49e55c6Phil Freeman
.travis.yml+2−2
@@ -1,9 +1,9 @@
1language: haskell
1language: haskell
2ghc: 7.8
2ghc: 7.8
3script:
3script:
4− - cabal configure --enable-tests --enable-library-coverage -v2 && cabal build && cabal test
4+ - ./travis-script.sh
5after_script:
5after_script:
6− - ./coverage.sh
6+ - ./travis-after-script.sh
7notifications:
7notifications:
8 email: true
8 email: true
9before_deploy: "./bundle/build.sh linux64"
9before_deploy: "./bundle/build.sh linux64"
coverage.sh → travis-after-script.shrenamed

The content is the same.

travis-script.shnew file+11
@@ -0,0 +1,11 @@
1+set -e
2+
3+if [ -z $( git describe --tags --exact-match 2>/dev/null ) ]
4+then
5+ cabal configure --enable-tests --enable-library-coverage -v2
6+else
7+ cabal configure --enable-tests -v2
8+fi
9+
10+cabal build
11+cabal test