File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 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/
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ if SRC_TGZ="$PWD/dist/$(cabal info . | awk '{print $2;exit}').tar.gz"
77then
88 mkdir -p ../install-test
99 cd ../install-test
10- cabal sandbox init
10+ mkdir -p sandboxes/$GHCVER /${STACKAGE:- none}
11+ cabal sandbox init --sandbox sandboxes/$GHCVER /${STACKAGE:- none}
1112 cabal install -j2 --ghc-options=' +RTS -A32m -RTS' " $SRC_TGZ "
1213fi
You can’t perform that action at this time.
0 commit comments