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