@@ -1,35 +1,21 @@
2− - GHCVER=7.6.3 CABALVER=1.18
2+
3− - GHCVER=7.8.4 CABALVER=1.18
3+# explicitly request container-based infrastructure
4− - GHCVER=7.10.2 CABALVER=1.22
4+sudo: false
5− - GHCVER=head CABALVER=head
8+ - env: CABALVER=1.16 GHCVER=7.6.3
9+ addons: {apt: {packages: [cabal-install-1.16,ghc-7.6.3], sources: [hvr-ghc]}}
10+ - env: CABALVER=1.18 GHCVER=7.8.4
11+ addons: {apt: {packages: [cabal-install-1.18,ghc-7.8.4], sources: [hvr-ghc]}}
12+ - env: CABALVER=1.22 GHCVER=7.10.2
13+ addons: {apt: {packages: [cabal-install-1.22,ghc-7.10.2],sources: [hvr-ghc]}}
14+ - env: CABALVER=head GHCVER=head
15+ addons: {apt: {packages: [cabal-install-head,ghc-head], sources: [hvr-ghc]}}
8 allow_failures:
17 allow_failures:
9− - env: GHCVER=head CABALVER=head
18+ - env: CABALVER=head GHCVER=head
11before_install:
20before_install:
12− - travis_retry sudo add-apt-repository -y ppa:hvr/ghc
13− - travis_retry sudo apt-get update
14− - travis_retry sudo apt-get install -y cabal-install-$CABALVER ghc-$GHCVER
15− - export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$HOME/.cabal/bin:$PATH
21+ - export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$PATH
20− - cabal install --only-dependencies --enable-tests
23− - cabal configure --enable-tests -v2
28− - export SRC_TGZ=$(cabal info . | awk '{print $2 ".tar.gz";exit}') ;
30− if [ -f "$SRC_TGZ" ]; then
31− cabal install "$SRC_TGZ";
33− echo "expected '$SRC_TGZ' not found";