Browse Source

travis yarn support

Daniel Zlotin 8 years ago
parent
commit
4cde07e79f
1 changed files with 2 additions and 5 deletions
  1. 2
    5
      .travis.yml

+ 2
- 5
.travis.yml View File

10
   - master
10
   - master
11
 
11
 
12
 cache:
12
 cache:
13
+  yarn: true
13
   directories:
14
   directories:
14
-  - $HOME/.yarn-cache
15
+    - node_modules
15
 
16
 
16
 before_install:
17
 before_install:
17
   - set -e
18
   - set -e
18
   - ./scripts/clean.sh
19
   - ./scripts/clean.sh
19
 
20
 
20
-install:
21
-  - npm i -g yarn
22
-  - yarn
23
-
24
 script:
21
 script:
25
   - yarn run lint
22
   - yarn run lint
26
   - yarn run test:js
23
   - yarn run test:js