dejafu/.travis.yml
2018-06-03 00:52:26 +01:00

41 lines
740 B
YAML

# Set-up
sudo: false
language: c
# If something is tagged, it's come from a PR which has been merged
# into master. There's no need to build both the tag and the merge
# commit.
if: tag IS blank
# Cache builds
cache:
directories:
- $HOME/.ghc
- $HOME/.cabal
- $HOME/.stack
addons:
apt:
packages:
- libgmp-dev
matrix:
fast_finish: true
allow_failures:
- env: MODE=test RESOLVER=nightly
script: ./.travis/$MODE
jobs:
include:
- stage: check
env: MODE=doctest
- env: MODE=lint
- stage: test
env: MODE=test RESOLVER=lts-9.0 # GHC 8.0
- env: MODE=test RESOLVER=lts-10.0 # GHC 8.2
- env: MODE=test RESOLVER=nightly-2018-03-23 # GHC 8.4
- env: MODE=test RESOLVER=nightly