git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Do not enable library coverage during tests if tagging.
commit49e55c6ae3bd9121850fe485a2ca17c24b8369f8 authorPhil Freeman <paf31@cantab.net> dateMon 17 Nov 2014, 17:15 (12 years ago) parentf0e3ebb
3 files changed+13−2
.travis.yml+2−2 coverage.sh → travis-after-script.sh travis-script.sh+11
.travis.yml+2−2
@@ -1,9 +1,9 @@
11language: haskell
22ghc: 7.8
33script:
4− - cabal configure --enable-tests --enable-library-coverage -v2 && cabal build && cabal test
4+ - ./travis-script.sh
55after_script:
6− - ./coverage.sh
6+ - ./travis-after-script.sh
77notifications:
88 email: true
99before_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