travis: pre-install deps for tests, also

This commit is contained in:
Simon Michael 2017-03-22 08:23:55 +00:00
parent c4ff929382
commit 2cb741e0c8

View File

@ -28,10 +28,9 @@ before_install:
- stack --version - stack --version
install: install:
# install GHC and deps # install GHC and most deps
- stack +RTS -N2 -RTS build --install-ghc --only-snapshot - stack +RTS -N2 -RTS build --install-ghc --test --only-snapshot
- stack exec -- ghc --version - stack exec -- ghc --version
# install GHC and deps
# install tools # install tools
- git clone http://github.com/simonmichael/shelltestrunner - git clone http://github.com/simonmichael/shelltestrunner
- stack +RTS -N2 -RTS install --install-ghc --stack-yaml=shelltestrunner/stack.yaml --resolver=lts - stack +RTS -N2 -RTS install --install-ghc --stack-yaml=shelltestrunner/stack.yaml --resolver=lts