-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
40 lines (33 loc) · 1.09 KB
/
.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
language: c
sudo: false
env:
- STACK_YAML=stack-lts-9.yaml UPDATE_NIGHTLY=NO
- STACK_YAML=stack-lts-11.yaml UPDATE_NIGHTLY=NO
- STACK_YAML=stack-lts-12.14.yaml UPDATE_NIGHTLY=NO
- STACK_YAML=stack-lts-12.26.yaml UPDATE_NIGHTLY=NO
- STACK_YAML=stack-lts-13.11.yaml UPDATE_NIGHTLY=NO
- STACK_YAML=stack-lts-13.19.yaml UPDATE_NIGHTLY=NO
- STACK_YAML=stack-lts-14.yaml UPDATE_NIGHTLY=NO
- STACK_YAML=stack-lts-15.3.yaml UPDATE_NIGHTLY=NO
- STACK_YAML=stack.yaml UPDATE_NIGHTLY=NO
- STACK_YAML=stack-nightly.yaml UPDATE_NIGHTLY=YES
addons:
apt:
packages:
- libgmp-dev
matrix:
allow_failures:
- env: STACK_YAML=stack-nightly.yaml UPDATE_NIGHTLY=YES
cache:
directories:
- $HOME/.stack/
before_install:
- mkdir -p ~/.local/bin
- export PATH=~/.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:
- ./tools/update_nightly.sh
- stack setup --no-terminal
- stack ghc -- --version
script:
- LC_CTYPE=posix stack --no-terminal test