1
0
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:
Daniel Ruf
2018-06-23 22:33:42 +02:00
parent d5a3fc1fcf
commit 6b22a4ab4d

View File

@ -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'