travis: troubleshoot wrong stack version

This commit is contained in:
Simon Michael 2018-05-09 22:03:41 -07:00
parent a409d09435
commit df48539b4a

View File

@ -93,6 +93,8 @@ install: # command output is hidden as they complete
- mkdir -p ~/.local/bin
- export PATH=~/.local/bin:$PATH
- if [[ ! -x ~/.local/bin/stack ]]; then travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'; chmod a+x ~/.local/bin/stack; fi
- which stack
- type -a stack
- stack --version
# GHC