travis: don't clone shelltestrunner again if it has been cached once

This commit is contained in:
Simon Michael 2017-03-22 23:17:32 +00:00
parent abfa0a6e01
commit 102d57a36d

View File

@ -82,7 +82,7 @@ install: # ignores command failures, completed commands are collapsed in log
- stack build Chart Chart-diagrams colour Diff here - stack build Chart Chart-diagrams colour Diff here
# shelltestrunner, need unreleased installable version # shelltestrunner, need unreleased installable version
- git clone http://github.com/simonmichael/shelltestrunner - [ -d shelltestrunner ] || git clone http://github.com/simonmichael/shelltestrunner
- stack install --stack-yaml=shelltestrunner/stack.yaml --resolver=lts-8.2 --install-ghc - stack install --stack-yaml=shelltestrunner/stack.yaml --resolver=lts-8.2 --install-ghc
- shelltest --version - shelltest --version