validationt/.travis.yml
2020-11-03 18:52:12 +03:00

39 lines
668 B
YAML

sudo: true
language: haskell
git:
depth: 5
cache:
directories:
- "$HOME/.cabal/store"
- "$HOME/.stack"
- "$TRAVIS_BUILD_DIR/.stack-work"
jobs:
include:
- ghc: 8.10.2
env: SNAPSHOT="nightly-2020-11-03"
- ghc: 8.8.4
env: SNAPSHOT="lts-16.20"
- ghc: 8.6.5
env: SNAPSHOT="lts-14.22"
- ghc: 8.4.4
env: SNAPSHOT="lts-12.26"
install:
- |
# install stack
curl -sSL https://get.haskellstack.org/ | sh
# build project with stack
stack --version
stack build --system-ghc --test --bench --no-run-tests --no-run-benchmarks --resolver=$SNAPSHOT
script:
- |
stack test --system-ghc
notifications:
email: false