Skip to content

Commit c6768a3

Browse files
committed
Use new Travis CI infrastructure.
1 parent 34ac668 commit c6768a3

File tree

1 file changed

+63
-13
lines changed

1 file changed

+63
-13
lines changed

.travis.yml

+63-13
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,72 @@
1-
env:
2-
- CABALVER=1.16 GHCVER=7.0.4
3-
- CABALVER=1.16 GHCVER=7.2.2
4-
- CABALVER=1.16 GHCVER=7.4.2
5-
- CABALVER=1.16 GHCVER=7.6.3
6-
- CABALVER=1.20 GHCVER=7.8.4
7-
- CABALVER=1.22 GHCVER=7.10.2
8-
- CABALVER=head GHCVER=head
9-
1+
# It seems that we can't use the CABALVER and GHCVER environment variables in a
2+
# toplevel addons.apt.packages section, so we have to duplicate things below.
3+
# Furthermore, GHC 7.10.2 is not on the whitelist yet.
4+
# TODO: Change 7.10.1 to 7.10.2 when it is whitelisted.
105
matrix:
6+
include:
7+
- env: CABALVER=1.16 GHCVER=7.0.4
8+
addons:
9+
apt:
10+
sources:
11+
- hvr-ghc
12+
packages:
13+
- cabal-install-1.16
14+
- ghc-7.0.4
15+
- env: CABALVER=1.16 GHCVER=7.2.2
16+
addons:
17+
apt:
18+
sources:
19+
- hvr-ghc
20+
packages:
21+
- cabal-install-1.16
22+
- ghc-7.2.2
23+
- env: CABALVER=1.16 GHCVER=7.4.2
24+
addons:
25+
apt:
26+
sources:
27+
- hvr-ghc
28+
packages:
29+
- cabal-install-1.16
30+
- ghc-7.4.2
31+
- env: CABALVER=1.16 GHCVER=7.6.3
32+
addons:
33+
apt:
34+
sources:
35+
- hvr-ghc
36+
packages:
37+
- cabal-install-1.16
38+
- ghc-7.6.3
39+
- env: CABALVER=1.20 GHCVER=7.8.4
40+
addons:
41+
apt:
42+
sources:
43+
- hvr-ghc
44+
packages:
45+
- cabal-install-1.20
46+
- ghc-7.8.4
47+
- env: CABALVER=1.22 GHCVER=7.10.1
48+
addons:
49+
apt:
50+
sources:
51+
- hvr-ghc
52+
packages:
53+
- cabal-install-1.22
54+
- ghc-7.10.1
55+
- env: CABALVER=head GHCVER=head
56+
addons:
57+
apt:
58+
sources:
59+
- hvr-ghc
60+
packages:
61+
- cabal-install-head
62+
- ghc-head
1163
allow_failures:
1264
- env: CABALVER=head GHCVER=head
1365

14-
before_install:
15-
- sudo add-apt-repository -y ppa:hvr/ghc
16-
- sudo apt-get update -qq
66+
sudo: false
1767

68+
# The packages from the PPA don't put this into the PATH automatically.
1869
install:
19-
- sudo apt-get install -qq cabal-install-$CABALVER ghc-$GHCVER
2070
- export PATH="/opt/cabal/$CABALVER/bin:/opt/ghc/$GHCVER/bin:$PATH"
2171

2272
before_script:

0 commit comments

Comments
 (0)