fix travis build timeout swallowing error code
This commit is contained in:
committed by
Steve Chavez
parent
f5331d1a77
commit
b21a0f6192
+1
-1
@@ -46,7 +46,7 @@ script:
|
|||||||
## we compile for 30 minutes tops(`gtimeout 1800`) and quit compiling with no error.
|
## 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
|
## Since we CACHE the compile results we can continue compiling from where we left off
|
||||||
## on the next commit.
|
## 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"
|
if test ! "$TRAVIS_TAG"
|
||||||
then
|
then
|
||||||
|
|||||||
Reference in New Issue
Block a user