forked from ghc/packages-directory
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
51 lines (51 loc) · 1.39 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
41
42
43
44
45
46
47
48
49
50
51
language: c # make the validator happy
sudo: false
matrix:
include:
- env: STACK_RESOLVER=lts-5.18
os: osx
# CABALVER=1.16 is the earliest available in the PPA
- env: GHCVER=7.4.2 CABALVER=1.16
PREBUILD="sed -i.bak /utimensat/d configure.ac"
addons:
apt:
packages: [ghc-7.4.2, cabal-install-1.16]
sources: [hvr-ghc]
- env: GHCVER=7.4.2 CABALVER=1.16
addons:
apt:
packages: [ghc-7.4.2, cabal-install-1.16]
sources: [hvr-ghc]
- env: GHCVER=7.6.3 CABALVER=1.16
addons:
apt:
packages: [ghc-7.6.3, cabal-install-1.16]
sources: [hvr-ghc]
- env: GHCVER=7.8.4 CABALVER=1.18
addons:
apt:
packages: [ghc-7.8.4, cabal-install-1.18]
sources: [hvr-ghc]
- env: GHCVER=7.10.1 CABALVER=1.22
addons:
apt:
packages: [ghc-7.10.1, cabal-install-1.22]
sources: [hvr-ghc]
- env: GHCVER=8.0.1 CABALVER=1.24
addons:
apt:
packages: [ghc-8.0.1, cabal-install-1.24]
sources: [hvr-ghc]
- env: GHCVER=head CABALVER=head
addons:
apt:
packages: [ghc-head, cabal-install-head]
sources: [hvr-ghc]
allow_failures:
- env: GHCVER=head CABALVER=head
before_install:
- export PATH=$PWD/_stack:/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$PATH
install:
- tools/testscript prepare
script:
- tools/testscript build