@@ -1,6 +1,9 @@
3−if [[ "${GHCVER}" > "7.2.2" ]] ; then
3+
4+GHC_IS_OLD=$(python -c "from distutils.version import StrictVersion as SV; print '$GHCVER' != 'head' and SV('$GHCVER') < SV('7.2.3')")
6+if [[ "False" == "$GHC_IS_OLD" ]] ; then
4 /opt/cabal/${CABALVER}/bin/cabal configure --enable-tests && /opt/cabal/${CABALVER}/bin/cabal build && /opt/cabal/${CABALVER}/bin/cabal test
7 /opt/cabal/${CABALVER}/bin/cabal configure --enable-tests && /opt/cabal/${CABALVER}/bin/cabal build && /opt/cabal/${CABALVER}/bin/cabal test
6 echo "Skipping tests on ${GHCVER}"
9 echo "Skipping tests on ${GHCVER}"