1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-28 09:10:17 +02:00

travis.yml: switch to yarn

This commit is contained in:
Kushagra Gour
2018-07-31 01:51:28 +05:30
parent 341528a928
commit f860ef99db

View File

@@ -2,16 +2,12 @@ language: node_js
node_js: node_js:
- '10' - '10'
install: install:
- npm i -g npm@latest - yarn add global eslint
- npm install -g eslint - yarn add global babel-eslint
- npm install -g babel-eslint - yarn add global eslint-plugin-react
- npm install -g eslint-plugin-react - yarn add global eslint-plugin-mocha
- npm install -g eslint-plugin-mocha - yarn add global eslint-config-synacor
- npm install -g eslint-config-synacor
script: script:
- npm run lint - yarn run lint
- npm ci - yarn run test
- npm run test cache: yarn
cache:
directories:
- '$HOME/.npm'