dejafu/.travis.yml

37 lines
872 B
YAML
Raw Normal View History

2016-05-03 21:17:06 +03:00
# Set-up
sudo: false
language: c
# Cache builds
cache:
directories:
- $HOME/.ghc
- $HOME/.cabal
- $HOME/.stack
# Goal: support latest 3 GHC major versions.
2016-05-03 21:17:06 +03:00
matrix:
2017-08-07 23:56:31 +03:00
fast_finish: true
2016-05-03 21:17:06 +03:00
include:
- env: RESOLVER="lts-6" # GHC 7.10
2016-10-22 18:02:31 +03:00
addons: {apt: {packages: [libgmp-dev]}}
- env: RESOLVER="lts-9" # GHC 8.0
addons: {apt: {packages: [libgmp-dev]}}
# - env: RESOLVER="lts-X" # GHC 8.2
# addons: {apt: {packages: [libgmp-dev]}}
- env: RESOLVER="nightly"
2016-05-03 21:17:06 +03:00
addons: {apt: {packages: [libgmp-dev]}}
2017-08-07 23:56:31 +03:00
allow_failures:
- env: RESOLVER="nightly"
2016-05-03 21:17:06 +03:00
# Download and unpack the stack executable
before_install:
- export PATH=/opt/ghc/$GHCVER/bin:$HOME/.local/bin:$PATH
- mkdir -p ~/.local/bin
- curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
# Run tests
script:
- ./test-build.sh