@@ -1,32 +1,52 @@
1+# Use new container infrastructure to enable caching
2−env:
4+# Choose a lightweight base image; we provide our own build tools.
3− - GHCVER=7.6.3 CABALVER=1.18
5+language: c
4− - GHCVER=7.8.4 CABALVER=1.18
6+
5− - GHCVER=7.10.1 CABALVER=1.22
7+# GHC depends on GMP. You can add other dependencies here as well.
6− - GHCVER=7.10.2 CABALVER=1.22
8+addons:
7− - GHCVER=head CABALVER=head
9+ apt:
16+ - env: CABALVER=1.18 GHCVER=7.6.3 BUILD=cabal
17+ compiler: ": #GHC 7.6.3"
18+ addons: {apt: {packages: [cabal-install-1.18,ghc-7.6.3], sources: [hvr-ghc]}}
20+ - env: CABALVER=1.18 GHCVER=7.8.4 BUILD=cabal
21+ compiler: ": #GHC 7.8.4"
22+ addons: {apt: {packages: [cabal-install-1.18,ghc-7.8.4], sources: [hvr-ghc]}}
24+ - env: CABALVER=1.22 GHCVER=7.10.1 BUILD=cabal
25+ compiler: ": #GHC 7.10.1"
26+ addons: {apt: {packages: [cabal-install-1.22,ghc-7.10.1], sources: [hvr-ghc]}}
28+ - env: CABALVER=1.22 GHCVER=7.10.2 BUILD=cabal
29+ compiler: ": #GHC 7.10.2"
30+ addons: {apt: {packages: [cabal-install-1.22,ghc-7.10.2], sources: [hvr-ghc]}}
32+ - env: CABALVER=head GHCVER=7.10.2 BUILD=cabal
33+ compiler: ": #GHC head"
34+ addons: {apt: {packages: [cabal-install-head,ghc-head], sources: [hvr-ghc]}}
10 allow_failures:
36 allow_failures:
11− - env: GHCVER=head CABALVER=head
37+ - env: GHCVER=head CABALVER=head
13before_install:
39before_install:
14 - mkdir -p $HOME/.local/bin
40 - mkdir -p $HOME/.local/bin
15− - export PATH=$HOME/.local/bin:$PATH
41+ - export PATH=$HOME/.local/bin:/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$HOME/.cabal/bin:$PATH
16 - travis_retry curl -L http://download.fpcomplete.com/michael/cabal-meta.tar.gz | tar xz -C $HOME/.local/bin
42 - travis_retry curl -L http://download.fpcomplete.com/michael/cabal-meta.tar.gz | tar xz -C $HOME/.local/bin
17 - travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
43 - travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
19− - travis_retry sudo add-apt-repository -y ppa:hvr/ghc
20− - travis_retry sudo apt-get update
21− - travis_retry sudo apt-get install cabal-install-$CABALVER ghc-$GHCVER
22− - export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$HOME/.cabal/bin:$PATH
23 - ./.travis-setup.sh
45 - ./.travis-setup.sh
24 - cabal --version
46 - cabal --version
29− - sudo apt-get install libfcgi-dev
30 - travis_retry cabal update
50 - travis_retry cabal update
31 - cabal unpack wai-logger
51 - cabal unpack wai-logger
32 - mv wai-logger-* wai-logger
52 - mv wai-logger-* wai-logger