[build] format travis.yml
This commit is contained in:
+7
-7
@@ -1,22 +1,22 @@
|
|||||||
language: node_js
|
language: node_js
|
||||||
sudo: required
|
sudo: required
|
||||||
addons:
|
addons:
|
||||||
chrome: stable
|
chrome: stable
|
||||||
node_js:
|
node_js:
|
||||||
- 10
|
- 10
|
||||||
os: linux
|
os: linux
|
||||||
cache:
|
cache:
|
||||||
yarn: true
|
yarn: true
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
- dev
|
- dev
|
||||||
install:
|
install:
|
||||||
- |
|
- |
|
||||||
yarn install
|
yarn install
|
||||||
script:
|
script:
|
||||||
- |
|
- |
|
||||||
npm run lint && npm run test
|
npm run lint && npm run test
|
||||||
after_success:
|
after_success:
|
||||||
- |
|
- |
|
||||||
cat ./test/coverage/lcov.info | ./node_modules/.bin/codecov
|
cat ./test/coverage/lcov.info | ./node_modules/.bin/codecov
|
||||||
|
|||||||
Reference in New Issue
Block a user