瀏覽代碼

travis yarn support

Daniel Zlotin 8 年之前
父節點
當前提交
4cde07e79f
共有 1 個檔案被更改,包括 2 行新增5 行删除
  1. 2
    5
      .travis.yml

+ 2
- 5
.travis.yml 查看文件

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