@@ -12,38 +12,27 @@ cache:
1212
1313jobs:
1414 include:
15−
16− # Cabal
17− - ghc: 8.4.4
1815 - ghc: 8.6.5
19−
20− # Stack
21− - ghc: 8.6.5
22− env: STACK_YAML="$TRAVIS_BUILD_DIR/stack.yaml"
16+ env: SNAPSHOT="lts-14.22"
17+ - ghc: 8.6.4
18+ env: SNAPSHOT="lts-13.19"
19+ - ghc: 8.6.3
20+ env: SNAPSHOT="lts-13.11"
21+ - ghc: 8.4.4
22+ env: SNAPSHOT="lts-12.26"
2323
2424install:
2525 - |
26− if [ -z "$STACK_YAML" ]; then
27− ghc --version
28− cabal --version
29− cabal new-update
30− cabal new-build --enable-tests --enable-benchmarks
31− else
32− # install stack
33− curl -sSL https://get.haskellstack.org/ | sh
26+ # install stack
27+ curl -sSL https://get.haskellstack.org/ | sh
3428
35− # build project with stack
36− stack --version
37− stack build --system-ghc --test --bench --no-run-tests --no-run-benchmarks
38− fi
29+ # build project with stack
30+ stack --version
31+ stack build --system-ghc --test --bench --no-run-tests --no-run-benchmarks --resolver=$SNAPSHOT
3932
4033script:
4134 - |
42− if [ -z "$STACK_YAML" ]; then
43− cabal new-test --enable-tests
44− else
45− stack test --system-ghc
46− fi
35+ stack test --system-ghc
4736
4837notifications:
4938 email: false