Fix travis :(

This commit is contained in:
Julian Ospald 2018-10-03 11:52:27 +08:00
parent f2e7ecd168
commit 35b40e2fc4
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28

View File

@ -27,17 +27,16 @@ export PATH="$HOME/.cabal/bin:$HOME/.ghcup/bin:$PATH"
# install cabal-install
./ghcup -v install-cabal
cabal new-update
# https://github.com/haskell/cabal/issues/5516
mkdir -p ~/.cabal/store/ghc-8.2.2/package.db
cabal new-update
# 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
cabal new-install ShellCheck
# check our script for errors