[build] format travis.yml

This commit is contained in:
陈嘉涵 2019-07-18 17:59:32 +08:00
parent b273c89b3a
commit 7e377f6903

View File

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