Fix travis

This commit is contained in:
Julian Ospald 2021-04-11 19:16:45 +02:00
parent 43114959fd
commit ffe00c7b1f
Signed by: hasufell
GPG Key ID: 3786C5262ECB4A3F

View File

@ -16,6 +16,12 @@ ghcup set 8.10.4
## install ghcup
cabal update
(
cd /tmp
cabal install --installdir="$HOME"/.ghcup/bin hspec-discover
)
cabal build --constraint="zlib +static" --constraint="lzma +static" -ftui
cp "$(cabal new-exec --verbose=0 --offline sh -- -c 'command -v ghcup')" .
strip ./ghcup