tools: travis: try to cache a bit more

This commit is contained in:
Simon Michael 2015-07-28 16:02:31 -07:00
parent 0d9bbe6653
commit e33e3c3cc5

View File

@ -4,6 +4,7 @@ sudo: false
cache: cache:
directories: directories:
- $HOME/.stack/ - $HOME/.stack/
- $HOME/.stack-work/
before_install: before_install:
- mkdir -p ~/.local/bin - mkdir -p ~/.local/bin
@ -12,12 +13,13 @@ before_install:
- chmod a+x ~/.local/bin/stack - chmod a+x ~/.local/bin/stack
install: install:
- stack setup --no-terminal - stack --no-terminal --skip-ghc-check setup
- stack build --only-snapshot --no-terminal - stack --no-terminal --skip-ghc-check build --only-snapshot
# testing: where are we now ?
- pwd
script: script:
#- stack build --no-terminal - stack --no-terminal --skip-ghc-check test
- stack test --no-terminal
notifications: notifications: