Fix travis

This commit is contained in:
Julian Ospald 2018-10-03 11:31:18 +08:00
parent 44b7da06bf
commit f2e7ecd168
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28

View File

@ -27,8 +27,14 @@ export PATH="$HOME/.cabal/bin:$HOME/.ghcup/bin:$PATH"
# install cabal-install
./ghcup -v install-cabal
cabal update
cabal install cabal-install
cabal new-update
# https://github.com/haskell/cabal/issues/5516
mkdir -p ~/.cabal/store/ghc-8.2.2/package.db
# this shouldn't be necessary, file bug upstream
cabal new-install --symlink-bindir="$HOME"/.ghcup/bin cabal-install
mv -f "$HOME"/.ghcup/bin/cabal "$HOME"/.cabal/bin/cabal
# install shellcheck
cabal new-update