vty/ci/travis_ci_build_and_test
Corey O'Connor 92ff677079 fix travis ci entry point
Not significantly different that jenkins practices.
2013-12-13 19:34:41 -08:00

10 lines
197 B
Bash
Executable File

#!/bin/bash
set -ex
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