-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
40 lines (35 loc) · 907 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
# simplified haskell-ci Travis setup
# see also https://github.com/haskell-CI/haskell-ci
language: haskell
sudo: enabled
cache:
directories:
- $HOME/.cabal/store
matrix:
include:
# - ghc: "8.10.1"
# cabal: 3.0
# env: TARGET=cabal.88.project
- ghc: "8.8.3"
cabal: 3.0
env: TARGET=cabal.88.project
- ghc: "8.6.5"
cabal: 2.4
env: TARGET=cabal.project
- ghc: "8.4.4"
cabal: 2.4
env: TARGET=cabal.project
- ghc: "8.2.2"
cabal: 2.4
env: TARGET=cabal.project
- ghc: "8.0.2"
cabal: 2.4
env: TARGET=cabal.88.project
install:
- cabal --version
- ghc --version
script:
- cabal v2-update
- cabal v2-build all --project-file=$TARGET
- cabal v2-test --enable-test all --project-file=$TARGET
- if cabal --version | grep -q 2.4; then cabal v2-bench --enable-benchmarks all --project-file=$TARGET; fi