Skip to content
Snippets Groups Projects
Commit 732a6a78 authored by Mikhail Glushenkov's avatar Mikhail Glushenkov
Browse files

cabal-install also needs patched ansi-wl-pprint.

parent 33d68865
No related branches found
No related tags found
No related merge requests found
......@@ -31,8 +31,8 @@ script:
- /opt/ghc/$GHCVER/bin/ghc --make -odir ./dist/setup -hidir ./dist/setup -i -i. ./dist/setup/setup.hs -o ./dist/setup/setup -Wall -Werror -threaded # the command cabal-install would use to build setup
# Need extra dependencies for test suite
- travis_retry git clone -b pr-base48 https://github.com/hvr/ansi-wl-pprint
- cabal install ./ansi-wl-pprint
- travis_retry git clone -b pr-base48 https://github.com/hvr/ansi-wl-pprint ../ansi-wl-pprint
- cabal install ../ansi-wl-pprint
- cabal install --only-dependencies --enable-tests
- sudo /opt/ghc/$GHCVER/bin/ghc-pkg recache
- /opt/ghc/$GHCVER/bin/ghc-pkg recache --user
......@@ -60,6 +60,7 @@ script:
- cd ../cabal-install
- cabal sandbox init
- cabal sandbox add-source ../Cabal
- cabal sandbox add-source ../ansi-wl-pprint
- cabal install --dependencies-only --enable-tests
- cabal configure --enable-tests --ghc-option=-Werror
- cabal build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment