Skip to content

Commit 283bf0a

Browse files
author
Tien Thinh
committed
Travis : Add Yarn version and Node version
1 parent f566b68 commit 283bf0a

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.travis.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,20 @@
11
language: node_js
22

3+
node_js:
4+
- "8"
5+
36
before_install:
47
- nvm install 8.0.0
5-
- npm install -g yarn
8+
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.9.4
9+
- export PATH="$HOME/.yarn/bin:$PATH"
10+
11+
install:
612
- yarn
713

814
cache:
15+
yarn: true
916
directories:
10-
- node_modules
17+
- node_modules'
1118

1219
script:
1320
- yarn run build

0 commit comments

Comments
 (0)