ci: update

Signed-off-by: BoHong Li <a60814billy@gmail.com>
This commit is contained in:
BoHong Li 2019-05-27 18:29:30 +08:00
parent a1836b3c28
commit 3d48eb67fb
No known key found for this signature in database
GPG Key ID: 9696D5590D58290F
1 changed files with 14 additions and 1 deletions

View File

@ -4,14 +4,26 @@ node_js:
- "lts/carbon" - "lts/carbon"
- "lts/dubnium" - "lts/dubnium"
- "11" - "11"
- "12"
dist: xenial dist: xenial
cache: yarn cache: yarn
script: yarn test:ci matrix:
fast_finish: true
include:
- node_js: lts/carbon
- node_js: lts/dubnium
allow_failures:
- node_js: "11"
- node_js: "12"
jobs: jobs:
include: include:
- stage: test
script: yarn test:ci
- stage: build-frontend
script: yarn build
- stage: doctoc-check - stage: doctoc-check
install: npm install -g doctoc install: npm install -g doctoc
if: type = pull_request OR branch = master if: type = pull_request OR branch = master
@ -19,3 +31,4 @@ jobs:
- cp README.md README.md.orig - cp README.md README.md.orig
- npm run doctoc - npm run doctoc
- diff -q README.md README.md.orig - diff -q README.md README.md.orig
node_js: lts/carbon