on master help sign in
restore full builds after caches have been primed
77f4c45AgentM
.travis.yml+7−7
@@ -40,17 +40,17 @@ script:
40 # Run tests
40 # Run tests
41 set -e
41 set -e
42 ./.travis/install-dependencies.sh
42 ./.travis/install-dependencies.sh
43− #stack --no-terminal --jobs=2 --system-ghc test
43+ stack --no-terminal --jobs=2 --system-ghc test
44 - |
44 - |
45 #Run HLint
45 #Run HLint
46− #if [[ "$(uname)" = "Linux" ]]; then
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
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
48+ fi
49 - |
49 - |
50 #Run Haddock
50 #Run Haddock
51− #if [[ "$(uname)" = "Linux" ]]; then
51+ if [[ "$(uname)" = "Linux" ]]; then
52− #stack --no-install-ghc --system-ghc --no-haddock-deps haddock
52+ stack --no-install-ghc --system-ghc --no-haddock-deps haddock
53− #fi
53+ fi
54
54
55after_success:
55after_success:
56 - |
56 - |
.travis/install-dependencies.sh+1−2
@@ -4,8 +4,7 @@ if [[ "$(uname)" = "Darwin" ]]; then
4else
4else
5 timeout_cmd="timeout"
5 timeout_cmd="timeout"
6fi
6fi
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
9ret=$?
8ret=$?
10case "$ret" in
9case "$ret" in
11 0)
10 0)