瀏覽代碼

Use npm install mgit instead of yarn add.

Kamil Piechaczek 7 年之前
父節點
當前提交
1839d1f8e6
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      .travis.yml

+ 3 - 2
.travis.yml

@@ -18,9 +18,10 @@ before_install:
 - sh -e /etc/init.d/xvfb start
 - npm i -g yarn
 install:
-- yarn add mgit2 --ignore-workspace-root-check
+- npm i mgit2 --no-save
 - mgit sync --resolver-url-template="https://github.com/\${ path }.git"
-- yarn
+- rm -rf node_modules
+- yarn install
 script:
 - yarn run test --reporter=dots
 - yarn run docs:api --validate-only