Parcourir la source

Use npm install mgit instead of yarn add.

Kamil Piechaczek il y a 7 ans
Parent
commit
1839d1f8e6
1 fichiers modifiés avec 3 ajouts et 2 suppressions
  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