Skip to content

Commit

Permalink
fix travis build timeout swallowing error code
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfgangwalther authored and steve-chavez committed Oct 14, 2020
1 parent f5331d1 commit b21a0f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ script:
## we compile for 30 minutes tops(`gtimeout 1800`) and quit compiling with no error.
## Since we CACHE the compile results we can continue compiling from where we left off
## on the next commit.
- gtimeout 1800 stack build --no-terminal --only-snapshot --install-ghc || true
- gtimeout 1800 stack build --no-terminal --only-snapshot --install-ghc || (($?==124))
- |
if test ! "$TRAVIS_TAG"
then
Expand Down

0 comments on commit b21a0f6

Please sign in to comment.