Fix travis
This commit is contained in:
parent
44b7da06bf
commit
f2e7ecd168
10
.travis.sh
10
.travis.sh
@ -27,8 +27,14 @@ export PATH="$HOME/.cabal/bin:$HOME/.ghcup/bin:$PATH"
|
|||||||
# install cabal-install
|
# install cabal-install
|
||||||
./ghcup -v install-cabal
|
./ghcup -v install-cabal
|
||||||
|
|
||||||
cabal update
|
cabal new-update
|
||||||
cabal install cabal-install
|
|
||||||
|
# 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
|
# install shellcheck
|
||||||
cabal new-update
|
cabal new-update
|
||||||
|
Loading…
Reference in New Issue
Block a user