on master help sign in
Update .travis.yml
607364dIndex Int
.travis.yml+15−4
@@ -1,12 +1,11 @@
1+sudo: false
2+
1env:
3env:
2 - CABALVER=1.18 GHCVER=7.8.4
4 - CABALVER=1.18 GHCVER=7.8.4
3− - CABALVER=1.22 GHCVER=7.10.2
5+ - CABALVER=1.22 GHCVER=7.10.1
4 - CABALVER=head GHCVER=head
6 - CABALVER=head GHCVER=head
5
7
6before_install:
8before_install:
7− - travis_retry sudo add-apt-repository -y ppa:hvr/ghc
8− - travis_retry sudo apt-get update
9− - travis_retry sudo apt-get install cabal-install-$CABALVER ghc-$GHCVER
10 - export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$PATH
9 - export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$PATH
11 - travis_retry cabal update
10 - travis_retry cabal update
12
11
@@ -19,3 +18,15 @@ script:
19 - cabal configure --enable-tests -v2
18 - cabal configure --enable-tests -v2
20 - cabal build
19 - cabal build
21 - cabal test
20 - cabal test
21+
22+addons:
23+ apt:
24+ sources:
25+ - hvr-ghc
26+ packages:
27+ - ghc-7.8.4
28+ - ghc-7.10.1
29+ - ghc-head
30+ - cabal-install-1.18
31+ - cabal-install-1.22
32+ - cabal-install-head