on master help sign in
restore full builds after caches have been primed
commit77f4c45e806c73c326d24079a8a7dfba3f3edae9 authorAgentM <agentm@themactionfaction.com> dateSat 7 Jul 2018, 18:22 (8 years ago) parente0c4bbb
2 files changed+8−9
.travis.yml+7−7 .travis/install-dependencies.sh+1−2
.travis.yml+7−7
@@ -40,17 +40,17 @@ script:
4040 # Run tests
4141 set -e
4242 ./.travis/install-dependencies.sh
43− #stack --no-terminal --jobs=2 --system-ghc test
43+ stack --no-terminal --jobs=2 --system-ghc test
4444 - |
4545 #Run HLint
46− #if [[ "$(uname)" = "Linux" ]]; then
47− #curl -sL https://raw.github.com/ndmitchell/hlint/master/misc/travis.sh | sh -s lint src test examples --cpp-define VERSION_project_m36=HLINT
48− #fi
46+ if [[ "$(uname)" = "Linux" ]]; then
47+ curl -sL https://raw.github.com/ndmitchell/hlint/master/misc/travis.sh | sh -s lint src test examples --cpp-define VERSION_project_m36=HLINT
48+ fi
4949 - |
5050 #Run Haddock
51− #if [[ "$(uname)" = "Linux" ]]; then
52− #stack --no-install-ghc --system-ghc --no-haddock-deps haddock
53− #fi
51+ if [[ "$(uname)" = "Linux" ]]; then
52+ stack --no-install-ghc --system-ghc --no-haddock-deps haddock
53+ fi
5454
5555after_success:
5656 - |
.travis/install-dependencies.sh+1−2
@@ -4,8 +4,7 @@ if [[ "$(uname)" = "Darwin" ]]; then
44else
55 timeout_cmd="timeout"
66fi
7−stack --no-terminal --jobs=2 --install-ghc --system-ghc build --only-dependencies --fast
8−#$timeout_cmd 15m stack --no-terminal --jobs=2 --install-ghc --system-ghc build --only-dependencies --fast
7+$timeout_cmd 15m stack --no-terminal --jobs=2 --install-ghc --system-ghc build --only-dependencies --fast
98ret=$?
109case "$ret" in
1110 0)