git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Merge pull request #717 from purescript/697
4a52e0aPhil Freeman
.travis.yml+2−3
@@ -1,10 +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− - cabal install hpc-coveralls
6+ - ./travis-after-script.sh
7− - hpc-coveralls --exclude-dir=tests tests
8notifications:
7notifications:
9 email: true
8 email: true
10before_deploy: "./bundle/build.sh linux64"
9before_deploy: "./bundle/build.sh linux64"
travis-after-script.shnew file+7
@@ -0,0 +1,7 @@
1+set -e
2+
3+if [ -z $( git describe --tags --exact-match 2>/dev/null ) ]
4+then
5+ cabal install hpc-coveralls
6+ hpc-coveralls --exclude-dir=tests tests
7+fi
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