浏览代码

fix: update travis config

Gerald 7 年之前
父节点
当前提交
4d63af65f3
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      .travis.yml

+ 4 - 1
.travis.yml

@@ -1,6 +1,9 @@
 language: node_js
+before_install:
+  - curl -o- -L https://yarnpkg.com/install.sh | bash
+  - export PATH="$HOME/.yarn/bin:$PATH"
 node_js:
-  - node
+  - 9
 cache: yarn
 script:
   - yarn lint