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