Try build stages again

This commit is contained in:
dcodeIO 2018-02-25 00:32:41 +01:00
parent 8dc517e352
commit ae05006d21

View File

@ -1,9 +1,26 @@
language: node_js language: node_js
node_js: jobs:
- lts/* include:
- node
before_script: - stage: lint
- npm run lint node_js: node
- npm run clean && node bin/asc -v && npm test script: npm run lint
script: env: DESC="Checks the sources with TSLint"
- npm run build && node bin/asc -v && npm test
- stage: test
node_js: lts/*
script: npm run clean && node bin/asc -v && npm test
env: DESC="Tests the sources on latest node.js LTS"
- stage: test
node_js: node
script: npm run clean && node bin/asc -v && npm test
env: DESC="Tests the sources on latest stable node.js"
- stage: build
node_js: lts/*
script: npm run build && node bin/asc -v && npm test
env: DESC="Builds and tests the bundle on latest node.js LTS"
- stage: build
node_js: node
script: npm run build && node bin/asc -v && npm test
env: DESC="Builds and tests the bundle on latest stable node.js"