1
1
mirror of https://github.com/barrucadu/dejafu.git synced 2024-12-21 12:31:41 +03:00
dejafu/.travis.yml
Michael Walker bc98b422bb Skip testing old dejafu versions.
Also make sure concurrency builds before trying dejafu.
2016-12-05 07:48:19 +00:00

40 lines
907 B
YAML

# Set-up
sudo: false
language: c
# Cache builds
cache:
directories:
- $HOME/.ghc
- $HOME/.cabal
- $HOME/.stack
# Build matrix configuration
matrix:
include:
- env: RESOLVER="lts-3"
addons: {apt: {packages: [libgmp-dev]}}
- env: RESOLVER="lts-4"
addons: {apt: {packages: [libgmp-dev]}}
- env: RESOLVER="lts-5"
addons: {apt: {packages: [libgmp-dev]}}
- env: RESOLVER="lts-6"
addons: {apt: {packages: [libgmp-dev]}}
- env:
- RESOLVER="lts-7"
addons: {apt: {packages: [libgmp-dev]}}
- env:
- RESOLVER="nightly"
addons: {apt: {packages: [libgmp-dev]}}
# 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