Fix Elm CI issue due to new version (0.19) installation (#877)

* update elm usage

* remove yes from elm script

* install elm 0.18

* add npm cache

* add gem env to travis

* add gem cache directory
This commit is contained in:
William Cheng
2018-08-23 16:25:26 +08:00
committed by GitHub
parent 4a5bd50202
commit 4830be0ea4

View File

@@ -31,6 +31,8 @@ cache:
- $HOME/.cargo
- $HOME/.stack
- $HOME/samples/server/petstore/cpp-pistache/pistache
- $HOME/.npm
- $HOME/.rvm/gems/ruby-2.4.1
services:
- docker
@@ -57,7 +59,7 @@ before_install:
- gem install bundler
- npm install -g typescript
- npm install -g npm
- npm install -g elm
- npm install -g elm@0.18.0-exp5
- npm config set registry http://registry.npmjs.org/
# set python 3.6.3 as default
- source ~/virtualenv/python3.6/bin/activate