Skip to content

Commit

Permalink
Improve a comment.
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
23Skidoo committed Jul 27, 2016
1 parent 5f29c68 commit 76ebe2f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions travis-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@ export CABAL_BUILDDIR="${CABAL_BDIR}"
# Cabal otherwise).
timed cabal new-build Cabal Cabal:package-tests Cabal:unit-tests

# Note: http://stackoverflow.com/questions/14970663/why-doesnt-bash-flag-e-exit-when-a-subshell-fails
# some osx has broken bash
# NB: the '|| exit $?' workaround is required on old broken versions of bash
# that ship with OS X. See https://github.com/haskell/cabal/pull/3624 and
# http://stackoverflow.com/questions/14970663/why-doesnt-bash-flag-e-exit-when-a-subshell-fails

# Run tests
(cd Cabal && timed ${CABAL_BDIR}/build/package-tests/package-tests $TEST_OPTIONS) || exit $?
Expand Down

0 comments on commit 76ebe2f

Please sign in to comment.