Skip to content

Commit

Permalink
Only build on up-to-date GHC/Stack.
Browse files Browse the repository at this point in the history
  • Loading branch information
chpatrick committed Apr 11, 2016
1 parent 0572276 commit c08facf
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,21 @@ matrix:
include:
# We grab the appropriate GHC and cabal-install versions from hvr's PPA. See:
# https://github.com/hvr/multi-ghc-travis
- env: BUILD=cabal GHCVER=7.0.4 CABALVER=1.16
compiler: ": #GHC 7.0.4"
addons: {apt: {packages: [cabal-install-1.16,ghc-7.0.4], sources: [hvr-ghc]}}
- env: BUILD=cabal GHCVER=7.2.2 CABALVER=1.16
compiler: ": #GHC 7.2.2"
addons: {apt: {packages: [cabal-install-1.16,ghc-7.2.2], sources: [hvr-ghc]}}
- env: BUILD=cabal GHCVER=7.4.2 CABALVER=1.16
compiler: ": #GHC 7.4.2"
addons: {apt: {packages: [cabal-install-1.16,ghc-7.4.2], sources: [hvr-ghc]}}
- env: BUILD=cabal GHCVER=7.6.3 CABALVER=1.16
compiler: ": #GHC 7.6.3"
addons: {apt: {packages: [cabal-install-1.16,ghc-7.6.3], sources: [hvr-ghc]}}
- env: BUILD=cabal GHCVER=7.8.4 CABALVER=1.18
compiler: ": #GHC 7.8.4"
addons: {apt: {packages: [cabal-install-1.18,ghc-7.8.4], sources: [hvr-ghc]}}
# - env: BUILD=cabal GHCVER=7.0.4 CABALVER=1.16
# compiler: ": #GHC 7.0.4"
# addons: {apt: {packages: [cabal-install-1.16,ghc-7.0.4], sources: [hvr-ghc]}}
# - env: BUILD=cabal GHCVER=7.2.2 CABALVER=1.16
# compiler: ": #GHC 7.2.2"
# addons: {apt: {packages: [cabal-install-1.16,ghc-7.2.2], sources: [hvr-ghc]}}
# - env: BUILD=cabal GHCVER=7.4.2 CABALVER=1.16
# compiler: ": #GHC 7.4.2"
# addons: {apt: {packages: [cabal-install-1.16,ghc-7.4.2], sources: [hvr-ghc]}}
# - env: BUILD=cabal GHCVER=7.6.3 CABALVER=1.16
# compiler: ": #GHC 7.6.3"
# addons: {apt: {packages: [cabal-install-1.16,ghc-7.6.3], sources: [hvr-ghc]}}
# - env: BUILD=cabal GHCVER=7.8.4 CABALVER=1.18
# compiler: ": #GHC 7.8.4"
# addons: {apt: {packages: [cabal-install-1.18,ghc-7.8.4], sources: [hvr-ghc]}}
- env: BUILD=cabal GHCVER=7.10.3 CABALVER=1.22
compiler: ": #GHC 7.10.3"
addons: {apt: {packages: [cabal-install-1.22,ghc-7.10.3], sources: [hvr-ghc]}}
Expand All @@ -55,13 +55,13 @@ matrix:

# The Stack builds. We can pass in arbitrary Stack arguments via the ARGS
# variable, such as using --stack-yaml to point to a different file.
- env: BUILD=stack ARGS="--resolver lts-2"
compiler: ": #stack 7.8.4"
addons: {apt: {packages: [ghc-7.8.4], sources: [hvr-ghc]}}

- env: BUILD=stack ARGS="--resolver lts-3"
compiler: ": #stack 7.10.2"
addons: {apt: {packages: [ghc-7.10.2], sources: [hvr-ghc]}}
# - env: BUILD=stack ARGS="--resolver lts-2"
# compiler: ": #stack 7.8.4"
# addons: {apt: {packages: [ghc-7.8.4], sources: [hvr-ghc]}}
#
# - env: BUILD=stack ARGS="--resolver lts-3"
# compiler: ": #stack 7.10.2"
# addons: {apt: {packages: [ghc-7.10.2], sources: [hvr-ghc]}}

- env: BUILD=stack ARGS="--resolver lts-5"
compiler: ": #stack 7.10.3"
Expand All @@ -73,13 +73,13 @@ matrix:
addons: {apt: {packages: [libgmp-dev]}}

# Build on OS X in addition to Linux
- env: BUILD=stack ARGS="--resolver lts-2"
compiler: ": #stack 7.8.4 osx"
os: osx

- env: BUILD=stack ARGS="--resolver lts-3"
compiler: ": #stack 7.10.2 osx"
os: osx
# - env: BUILD=stack ARGS="--resolver lts-2"
# compiler: ": #stack 7.8.4 osx"
# os: osx
#
# - env: BUILD=stack ARGS="--resolver lts-3"
# compiler: ": #stack 7.10.2 osx"
# os: osx

- env: BUILD=stack ARGS="--resolver lts-5"
compiler: ": #stack 7.10.3 osx"
Expand Down

0 comments on commit c08facf

Please sign in to comment.