install always latest yarn version
This commit is contained in:
13
.travis.yml
13
.travis.yml
@@ -1,12 +1,17 @@
|
|||||||
language: node_js
|
language: node_js
|
||||||
|
|
||||||
node_js:
|
node_js:
|
||||||
- "10"
|
- 10
|
||||||
|
|
||||||
cache: yarn
|
cache: yarn
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.10.1
|
- curl -o- -L https://yarnpkg.com/install.sh | bash -s
|
||||||
- export PATH="$HOME/.yarn/bin:$PATH"
|
- export PATH=$HOME/.yarn/bin:$PATH
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- yarn install --production=false
|
- yarn install
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- yarn lint
|
- yarn lint
|
||||||
- yarn test
|
- yarn test
|
||||||
|
|||||||
Reference in New Issue
Block a user