mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[build] format travis.yml
This commit is contained in:
parent
b273c89b3a
commit
7e377f6903
14
.travis.yml
14
.travis.yml
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user