mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-12 17:46:26 +02:00
chore: improve Travis CI config
This commit is contained in:
@ -1,7 +1,9 @@
|
|||||||
language: node_js
|
language: node_js
|
||||||
node_js:
|
node_js:
|
||||||
- '10.1.0'
|
- '8'
|
||||||
|
- '10'
|
||||||
install:
|
install:
|
||||||
|
- npm i -g npm@latest
|
||||||
- npm install -g eslint
|
- npm install -g eslint
|
||||||
- npm install -g babel-eslint
|
- npm install -g babel-eslint
|
||||||
- npm install -g eslint-plugin-react
|
- npm install -g eslint-plugin-react
|
||||||
@ -9,3 +11,8 @@ install:
|
|||||||
- npm install -g eslint-config-synacor
|
- npm install -g eslint-config-synacor
|
||||||
script:
|
script:
|
||||||
- npm run lint
|
- npm run lint
|
||||||
|
- npm ci
|
||||||
|
- npm run test
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- '$HOME/.npm'
|
Reference in New Issue
Block a user