on master help sign in
temporarily disable darwin build to prime the darwin cache
18f736aAgentM
.travis.yml+11−7
@@ -41,20 +41,24 @@ install:
41# Here starts the actual work to be performed for the package under test;
41# 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.
42# any command which exits with a non-zero exit code causes the build to fail.
43script:
43script:
44− - GHC_OPTIONS=""
45− - |
46− set -ex
44+ - | set -ex
47 # Run tests
45 # Run tests
48 if [ "$(uname)" = "Darwin" ]; then
46 if [ "$(uname)" = "Darwin" ]; then
49− stack --install-ghc --no-terminal test --ghc-options="$GHC_OPTIONS"
47+ stack --install-ghc --no-terminal setup
48+ else
49+ echo Using pre-installed GHC on Linux.
50+ fi
51+ - |
52+ if [ "$(uname)" = "Darwin" ]; then
53+ #stack --install-ghc --no-terminal test #temporarily disable test to prime the cache
50 else
54 else
51− stack --no-install-ghc --system-ghc --no-terminal test --ghc-options="$GHC_OPTIONS"
55+ stack --no-install-ghc --system-ghc --no-terminal test
52 fi
56 fi
53− set +ex
57+
54
58
55after_success:
59after_success:
56 - |
60 - |
57 # Build and ship binary
61 # Build and ship binary
58− ./.travis/attach-binary.sh
62+ #./.travis/attach-binary.sh
59
63
60# EOF
64# EOF