@@ -1,9 +1,12 @@
11sudo: false
22env:
3− - GHCVER=7.8.3 COVERAGE_SUITE=tests
4− - GHCVER=7.8.3 COVERAGE_SUITE=psci-tests
3+ - GHCVER=7.8.4 COVERAGE_SUITE=tests
4+ - GHCVER=7.8.4 COVERAGE_SUITE=psci-tests
55 - GHCVER=7.6.3
66 - GHCVER=7.10.1
7+ - GHCVER=7.8.4 STACKAGE=lts-2.22
8+ # 7.10.2 Pending https://github.com/travis-ci/apt-package-whitelist/pull/686
9+ - GHCVER=7.10.1 STACKAGE-nightly-2015-08-09
710before_install:
811 - export PATH="/opt/ghc/$GHCVER/bin:$PATH"
912 - export PATH="/opt/cabal/1.22/bin:$PATH"
@@ -15,6 +18,9 @@ install:
1518 - echo "$(ghc --version) [$(ghc --print-project-git-commit-id 2> /dev/null || echo '?')]"
1619 - travis_retry cabal update
1720 - cabal sandbox init
21+ # Download stackage cabal.config
22+ # Not sure whether filtering out purescript is necessary
23+ - if [ -n "$STACKAGE" ]; then curl http://www.stackage.org/$STACKAGE/cabal.config | grep -v purescript > cabal.config; fi
1824 # Run with limited concurrency
1925 # Travis container infrastructure seems to expose all host CPUs (16?), thus
2026 # cabal and ghc tries to use them all. Which is bad idea on a shared box.
@@ -52,7 +58,7 @@ addons:
5258 packages:
5359 - cabal-install-1.22
5460 - ghc-7.6.3
55− - ghc-7.8.3
61+ - ghc-7.8.4
5662 - ghc-7.10.1
5763 - happy-1.19.5
5864 - alex-3.1.4