Browse Source

travis yarn support

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

+ 2
- 5
.travis.yml View File

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