1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-27 16:50:11 +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:
- '10'
install:
- npm i -g npm@latest
- npm install -g eslint
- npm install -g babel-eslint
- npm install -g eslint-plugin-react
- npm install -g eslint-plugin-mocha
- npm install -g eslint-config-synacor
- yarn add global eslint
- yarn add global babel-eslint
- yarn add global eslint-plugin-react
- yarn add global eslint-plugin-mocha
- yarn add global eslint-config-synacor
script:
- npm run lint
- npm ci
- npm run test
cache:
directories:
- '$HOME/.npm'
- yarn run lint
- yarn run test
cache: yarn