-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy path.travis.yml
42 lines (32 loc) · 899 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
language: c
dist: trusty
cache:
directories:
- $HOME/.stack
addons:
apt:
packages:
- libgmp-dev
matrix:
include:
- env: ARGS="--resolver lts-9.21"
compiler: "stack-8.0.2"
- env: ARGS="--resolver lts-11.22"
compiler: "stack-8.2.2"
- env: ARGS=""
compiler: "stack-8.4.4"
- env: ARGS="--resolver nightly"
compiler: "stack-nightly"
allow_failures:
- env: ARGS="--resolver nightly"
compiler: "stack-nightly"
before_install:
- unset CC
- mkdir -p ~/.local/bin
- export PATH=$HOME/.local/bin:$PATH
- travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
install:
- stack $ARGS setup
script:
- stack $ARGS --no-terminal test --flag "cacophony:build-tools" --bench --no-run-benchmarks --haddock --no-haddock-deps
- stack $ARGS sdist