validationt/.travis.yml

39 lines
658 B
YAML
Raw Normal View History

2020-01-20 19:55:50 +03:00
sudo: true
language: haskell
2018-04-05 21:18:31 +03:00
git:
2020-01-20 19:55:50 +03:00
depth: 5
2018-04-05 21:18:31 +03:00
cache:
directories:
2020-01-20 19:55:50 +03:00
- "$HOME/.cabal/store"
- "$HOME/.stack"
- "$TRAVIS_BUILD_DIR/.stack-work"
2018-04-05 21:18:31 +03:00
2020-02-04 15:22:29 +03:00
jobs:
2018-04-05 21:18:31 +03:00
include:
2020-01-20 19:55:50 +03:00
- ghc: 8.6.5
2020-02-04 16:23:03 +03:00
env: SNAPSHOT="lts-14.22"
- ghc: 8.6.4
env: SNAPSHOT="lts-13.19"
- ghc: 8.6.3
env: SNAPSHOT="lts-13.11"
- ghc: 8.4.4
env: SNAPSHOT="lts-12.26"
2018-04-05 21:18:31 +03:00
install:
2020-01-20 19:55:50 +03:00
- |
2020-02-04 16:23:03 +03:00
# install stack
curl -sSL https://get.haskellstack.org/ | sh
2020-01-20 19:55:50 +03:00
2020-02-04 16:23:03 +03:00
# build project with stack
stack --version
stack build --system-ghc --test --bench --no-run-tests --no-run-benchmarks --resolver=$SNAPSHOT
2018-04-05 21:18:31 +03:00
script:
2020-01-20 19:55:50 +03:00
- |
2020-02-04 16:23:03 +03:00
stack test --system-ghc
2018-04-05 21:18:31 +03:00
2020-01-20 19:55:50 +03:00
notifications:
email: false