mirror of
https://github.com/typeable/validationt.git
synced 2024-11-25 06:22:45 +03:00
39 lines
668 B
YAML
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
|