@@ -4,48 +4,35 @@ language: haskell
10 directories:
8 directories:
11 - "$HOME/.cabal/store"
9 - "$HOME/.cabal/store"
12 - "$HOME/.stack"
10 - "$HOME/.stack"
13 - "$TRAVIS_BUILD_DIR/.stack-work"
11 - "$TRAVIS_BUILD_DIR/.stack-work"
20 - ghc: 8.6.5
15 - ghc: 8.6.5
21−
16+ env: SNAPSHOT="lts-14.22"
22− # Stack
17+ - ghc: 8.6.4
18+ env: SNAPSHOT="lts-13.19"
23− - ghc: 8.6.5
19+ - ghc: 8.6.3
24− env: STACK_YAML="$TRAVIS_BUILD_DIR/stack.yaml"
20+ env: SNAPSHOT="lts-13.11"
22+ env: SNAPSHOT="lts-12.26"
28− if [ -z "$STACK_YAML" ]; then
32− cabal new-build --enable-tests --enable-benchmarks
34− # install stack
26+ # install stack
35− curl -sSL https://get.haskellstack.org/ | sh
27+ curl -sSL https://get.haskellstack.org/ | sh
37− # build project with stack
29+ # build project with stack
38− stack --version
30+ stack --version
39− stack build --system-ghc --test --bench --no-run-tests --no-run-benchmarks
31+ stack build --system-ghc --test --bench --no-run-tests --no-run-benchmarks --resolver=$SNAPSHOT
44− if [ -z "$STACK_YAML" ]; then
45− cabal new-test --enable-tests
47− stack test --system-ghc
35+ stack test --system-ghc
50notifications:
37notifications:
51 email: false
38 email: false