on master help sign in
use install-ghc script instead to remove it from script phase
commit27330185179055bfe2bf1d23a9cd703049de40e7 authorAgentM <agentm@themactionfaction.com> dateSat 6 Jan 2018, 23:37 (9 years ago) parent86f5fe3
1 file changed+3−8
.travis.yml+3−8
.travis.yml+3−8
@@ -37,20 +37,15 @@ install:
3737 - export PATH=$HOME/.local/bin:/opt/ghc/$GHC_VERSION/bin:$PATH
3838 - ./.travis/install-ghr.sh
3939 - ./.travis/install-stack.sh
40+ - ./.travis/install-ghc.sh
4041
4142# Here starts the actual work to be performed for the package under test;
4243# any command which exits with a non-zero exit code causes the build to fail.
4344script:
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
5145 - |
46+ # Run tests
5247 if [ "$(uname)" = "Darwin" ]; then
53− #stack --install-ghc --no-terminal test #temporarily disable test to prime the cache
48+ echo Temporarily disabled on Darwin.
5449 else
5550 stack --no-install-ghc --system-ghc --no-terminal test
5651 fi