2017-02-15 10:14:58 +00:00
|
|
|
language: node_js
|
2019-05-27 08:57:43 +00:00
|
|
|
|
|
|
|
node_js:
|
|
|
|
- "lts/carbon"
|
|
|
|
- "lts/dubnium"
|
|
|
|
- "11"
|
2019-05-27 10:29:30 +00:00
|
|
|
- "12"
|
2019-05-27 08:57:43 +00:00
|
|
|
|
|
|
|
dist: xenial
|
2017-03-23 23:22:02 +00:00
|
|
|
cache: yarn
|
2019-05-27 08:57:43 +00:00
|
|
|
|
2019-05-27 10:29:30 +00:00
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
|
|
|
include:
|
|
|
|
- node_js: lts/carbon
|
|
|
|
- node_js: lts/dubnium
|
|
|
|
allow_failures:
|
|
|
|
- node_js: "11"
|
|
|
|
- node_js: "12"
|
2017-09-27 14:26:03 +00:00
|
|
|
|
2019-05-27 10:35:35 +00:00
|
|
|
script:
|
|
|
|
- yarn test:ci
|
|
|
|
- yarn build
|
|
|
|
|
2017-10-27 19:01:36 +00:00
|
|
|
jobs:
|
|
|
|
include:
|
2019-05-27 08:57:43 +00:00
|
|
|
- stage: doctoc-check
|
|
|
|
install: npm install -g doctoc
|
|
|
|
if: type = pull_request OR branch = master
|
2017-10-27 19:01:49 +00:00
|
|
|
script:
|
|
|
|
- cp README.md README.md.orig
|
|
|
|
- npm run doctoc
|
|
|
|
- diff -q README.md README.md.orig
|
2019-05-27 10:29:30 +00:00
|
|
|
node_js: lts/carbon
|