@@ -6,7 +6,7 @@ env:
66 - GHCVER=7.10.1
77 - GHCVER=7.8.4 STACKAGE=lts-2.22
88 # 7.10.2 Pending https://github.com/travis-ci/apt-package-whitelist/pull/686
9− - GHCVER=7.10.1 STACKAGE-nightly-2015-08-09
9+ - GHCVER=7.10.1 STACKAGE=nightly-2015-08-09
1010before_install:
1111 - export PATH="/opt/ghc/$GHCVER/bin:$PATH"
1212 - export PATH="/opt/cabal/1.22/bin:$PATH"
@@ -17,7 +17,8 @@ install:
1717 - cabal --version
1818 - echo "$(ghc --version) [$(ghc --print-project-git-commit-id 2> /dev/null || echo '?')]"
1919 - travis_retry cabal update
20− - cabal sandbox init
20+ - mkdir -p sandboxes/$GHCVER/${STACKAGE:-none}
21+ - cabal sandbox init --sandbox sandboxes/$GHCVER/${STACKAGE:-none}
2122 # Download stackage cabal.config
2223 # Not sure whether filtering out purescript is necessary
2324 - if [ -n "$STACKAGE" ]; then curl http://www.stackage.org/$STACKAGE/cabal.config | grep -v purescript > cabal.config; fi
@@ -64,5 +65,5 @@ addons:
6465 - alex-3.1.4
6566cache:
6667 directories:
67− - .cabal-sandbox
68− - ../install-test/.cabal-sandbox
68+ - sandboxes/
69+ - ../install-test/sandboxes/