Update .travis.yml to fix the failure about yarn

This commit is contained in:
Matthew Shao 2017-03-14 23:09:25 +08:00
parent 2d016775fe
commit b37d935d3c

View File

@ -49,7 +49,9 @@ matrix:
env: TOXENV=docs env: TOXENV=docs
- language: node_js - language: node_js
node_js: "node" node_js: "node"
before_install: npm install -g yarn before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH=$HOME/.yarn/bin:$PATH
install: cd web && yarn install: cd web && yarn
script: npm test script: npm test
cache: cache: