fix travis ci entry point

Not significantly different that jenkins practices.
This commit is contained in:
Corey O'Connor 2013-12-13 19:34:41 -08:00
parent 99dc9e2c96
commit 92ff677079

View File

@ -1,8 +1,9 @@
#!/bin/bash
set -ex
cabal configure --enable-tests && cabal build
if [[ "${GHCVER}" > "7.4.2" ]] ; then
cabal configure --enable-tests && cabal build
cabal test
else
cabal configure && cabal build
echo "Skipping tests on ${GHCVER}"
fi