2019-08-27 19:28:07 +00:00
|
|
|
sudo: false
|
|
|
|
|
|
|
|
git:
|
|
|
|
depth: 3
|
|
|
|
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- next
|
|
|
|
- master
|
|
|
|
|
2012-01-14 18:21:50 +00:00
|
|
|
language: node_js
|
2019-08-27 19:28:07 +00:00
|
|
|
|
|
|
|
cache:
|
|
|
|
npm: true
|
|
|
|
|
|
|
|
stages:
|
2019-08-27 21:11:49 +00:00
|
|
|
- lint
|
2019-08-27 19:28:07 +00:00
|
|
|
- test
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
include:
|
2019-08-27 21:11:49 +00:00
|
|
|
- stage: lint ✨
|
|
|
|
script: npm run lint:ci
|
|
|
|
node_js: lts/*
|
2019-08-27 19:28:07 +00:00
|
|
|
|
|
|
|
- stage: test 👩🏽💻
|
2019-08-27 21:54:19 +00:00
|
|
|
os: linux
|
2019-08-27 19:28:07 +00:00
|
|
|
script: npm run test:cov
|
2019-08-27 21:05:33 +00:00
|
|
|
node_js: node
|
2019-08-27 21:54:19 +00:00
|
|
|
|
|
|
|
- os: linux
|
|
|
|
script: npm run test:cov
|
|
|
|
node_js: lts/*
|
|
|
|
|
2019-08-27 21:32:09 +00:00
|
|
|
- os: windows
|
2019-08-27 21:54:19 +00:00
|
|
|
script: npm run test:cov
|
2019-08-27 21:32:09 +00:00
|
|
|
node_js: node
|
2019-08-27 21:54:19 +00:00
|
|
|
|
2019-08-27 21:32:09 +00:00
|
|
|
- os: windows
|
2019-08-27 21:54:19 +00:00
|
|
|
script: npm run test:cov
|
2019-08-27 21:32:09 +00:00
|
|
|
node_js: lts/*
|