forked from informatikr/aeson-pretty
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (28 loc) · 920 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
language: c
sudo: false
cache:
directories:
- $HOME/.ghc
- $HOME/.cabal
- $HOME/.stack
before_install:
- mkdir -p ~/.local/bin
- mkdir -p ~/tmp
- export PATH=~/.local/bin:$PATH
- curl -L https://github.com/commercialhaskell/stack/releases/download/v2.1.3/stack-2.1.3-linux-x86_64.tar.gz | tar xz -C ~/tmp
- mv ~/tmp/stack-2.1.3-linux-x86_64/stack ~/.local/bin/
- cd ${TRAVIS_BUILD_DIR}
matrix:
include:
- env: GHCVER=8.0.2 STACK_YAML=stack-8.0.yaml
- env: GHCVER=8.2.2 STACK_YAML=stack-8.2.yaml
- env: GHCVER=8.4.4 STACK_YAML=stack-8.4.yaml
- env: GHCVER=8.6.5 STACK_YAML=stack-8.6.yaml
- env: GHCVER=8.8.1 STACK_YAML=stack-8.8.yaml
allow_failures:
- env: GHCVER=head STACK_YAML=stack-head.yaml
install:
- stack --no-terminal --skip-ghc-check setup
- stack --no-terminal --skip-ghc-check test --only-snapshot
script:
- stack --no-terminal --skip-ghc-check test