Improve Travis CI cache

This commit is contained in:
Glavin Wiechert 2016-02-20 17:45:57 -04:00
parent 04851fb5ed
commit 27c274091f
1 changed files with 6 additions and 4 deletions

View File

@ -22,8 +22,10 @@ env:
- APM_TEST_PACKAGES="language-marko language-html-swig language-svg" - APM_TEST_PACKAGES="language-marko language-html-swig language-svg"
cache: cache:
- pip - pip: true
- bundler: true
- directories: - directories:
- vendor/bundle # gems are installed here, https://docs.travis-ci.com/user/languages/ruby/#Dependency-Management
- node_modules - node_modules
- $HOME/.atom - $HOME/.atom
- $HOME/.stack - $HOME/.stack
@ -56,9 +58,9 @@ before_install:
# CoffeeScript # CoffeeScript
- npm install coffee-formatter - npm install coffee-formatter
# Haskell # Haskell
- brew install haskell-stack - brew install haskell-stack
- stack setup - stack setup
- stack install stylish-haskell - stack install stylish-haskell
# Elm # Elm
- curl -L -o /tmp/elm-format.tgz https://github.com/avh4/elm-format/releases/download/0.1-alpha2/elm-format-0.1-alpha2-mac-x64.tgz - curl -L -o /tmp/elm-format.tgz https://github.com/avh4/elm-format/releases/download/0.1-alpha2/elm-format-0.1-alpha2-mac-x64.tgz
- tar xvzf /tmp/elm-format.tgz -C /usr/local/bin - tar xvzf /tmp/elm-format.tgz -C /usr/local/bin