revert this patch once the mac builder is working
increase dependency installation timeout and return 0 if it times out- this should prime the macos builder cache
commitf16747624b1dba1e6ddc2743e08841f25f03bfea
authorAgentM <agentm@themactionfaction.com>
dateThu 18 Jan 2018, 10:46 (9 years ago)
parent64ed2f0
.travis/install-dependencies.sh+2−2
@@ -4,7 +4,7 @@ if [[ "$(uname)" = "Darwin" ]]; then
44else
55 timeout_cmd="timeout"
66fi
7−$timeout_cmd 15m stack --no-terminal --jobs=2 --install-ghc --system-ghc build --only-dependencies --fast
7+$timeout_cmd 30m stack --no-terminal --jobs=2 --install-ghc --system-ghc build --only-dependencies --fast
88ret=$?
99case "$ret" in
1010 0)
@@ -13,7 +13,7 @@ case "$ret" in
1313 124)
1414 echo "Timed out while installing dependencies."
1515 echo "Try building again by pushing a new commit."
16− exit 1
16+ exit 0
1717 ;;
1818 *)
1919 echo "Failed to install dependencies; stack exited with $ret"