on master help sign in
use install-ghc script instead to remove it from script phase
2733018AgentM
.travis.yml+3−8
@@ -37,20 +37,15 @@ install:
37 - export PATH=$HOME/.local/bin:/opt/ghc/$GHC_VERSION/bin:$PATH
37 - export PATH=$HOME/.local/bin:/opt/ghc/$GHC_VERSION/bin:$PATH
38 - ./.travis/install-ghr.sh
38 - ./.travis/install-ghr.sh
39 - ./.travis/install-stack.sh
39 - ./.travis/install-stack.sh
40+ - ./.travis/install-ghc.sh
40
41
41# Here starts the actual work to be performed for the package under test;
42# Here starts the actual work to be performed for the package under test;
42# any command which exits with a non-zero exit code causes the build to fail.
43# any command which exits with a non-zero exit code causes the build to fail.
43script:
44script:
44− - |
45− # Run tests
46− if [ "$(uname)" = "Darwin" ]; then
47− stack --install-ghc --no-terminal setup
48− else
49− echo Using pre-installed GHC on Linux.
50− fi
51 - |
45 - |
46+ # Run tests
52 if [ "$(uname)" = "Darwin" ]; then
47 if [ "$(uname)" = "Darwin" ]; then
53− #stack --install-ghc --no-terminal test #temporarily disable test to prime the cache
48+ echo Temporarily disabled on Darwin.
54 else
49 else
55 stack --no-install-ghc --system-ghc --no-terminal test
50 stack --no-install-ghc --system-ghc --no-terminal test
56 fi
51 fi