@@ -1,64 +1,35 @@
1# For more information, see https://github.com/ChrisPenner/haskell-stack-travis-ci
1# For more information, see https://github.com/ChrisPenner/haskell-stack-travis-ci
3−sudo: false
3+sudo: true
6 submodules: false # whether to recursively clone submodules
6 submodules: false # whether to recursively clone submodules
17 fast_finish: true
9 fast_finish: true
19− - env: CACHE_NAME=8.2.2 STACK_YAML=stack.ghc8.2.yaml
11+ - env: BUILD_NAME=OSX
20− compiler: ": #stack 8.2.2"
22− - env: CACHE_NAME=osx-8.2.2 STACK_YAML=stack.ghc8.2.yaml
25− compiler: ": #stack 8.2.2"
27− - env: CACHE_NAME=8.4.4 STACK_YAML=stack.ghc8.4.yaml
28− compiler: ": #stack 8.4.4"
30− - env: CACHE_NAME=8.6.5 STACK_YAML=stack.ghc8.6.yaml
14+ - env: BUILD_NAME=LINUX-AMD64
31− compiler: ": #stack 8.6.5"
15+ os: linux
33− - env: CACHE_NAME=osx-8.6.5 STACK_YAML=stack.ghc8.6.yaml
19+ - env: BUILD_NAME=LINUX-ARM64
35− osx_image: xcode11
21+ dist: bionic
36− compiler: ": #stack 8.6.5"
22+ arch: arm64
38before_script:
24before_script:
39 - unset CC
25 - unset CC
40− - export PATH=$HOME/.local/bin:/opt/ghc/$GHC_VERSION/bin:$PATH
41− - ./.travis/install-ghr.sh
42− - ./.travis/install-stack.sh
44# Here starts the actual work to be performed for the package under test;
27# Here starts the actual work to be performed for the package under test;
45# any command which exits with a non-zero exit code causes the build to fail.
28# any command which exits with a non-zero exit code causes the build to fail.
48 # Run tests
31 # Run tests
49− set -e
32+ ./ci/DevOps/local/test/cb.sh
50− ./.travis/install-dependencies.sh
51− stack --no-terminal --jobs=2 --system-ghc test
54− if [[ "$(uname)" = "Linux" ]]; then
55− curl -sL https://raw.github.com/ndmitchell/hlint/master/misc/travis.sh | sh -s lint src test examples --cpp-define VERSION_project_m36=HLINT
59− if [[ "$(uname)" = "Linux" ]]; then
60− stack --no-install-ghc --system-ghc --no-haddock-deps haddock
63after_success:
34after_success: