mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-20 06:50:47 -07:00
chore(CI): adjust build matrix
This commit is contained in:
+8
-5
@@ -1,24 +1,27 @@
|
|||||||
language: node_js
|
language: node_js
|
||||||
node_js: "8"
|
node_js:
|
||||||
|
- "8"
|
||||||
|
- "6"
|
||||||
|
- "4"
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
- stage: test
|
- stage: test
|
||||||
name: 'Linting'
|
name: 'Linting'
|
||||||
|
node_js: "8"
|
||||||
script: npm run lint
|
script: npm run lint
|
||||||
- name: 'Unit Test'
|
- name: 'Unit Test'
|
||||||
|
node_js: "8"
|
||||||
script: npm run unit && npm run coveralls
|
script: npm run unit && npm run coveralls
|
||||||
- name: 'E2E Test'
|
- name: 'E2E Test'
|
||||||
script: npm run e2e
|
script: npm run e2e
|
||||||
node_js:
|
|
||||||
- "8"
|
|
||||||
- "6"
|
|
||||||
- "4"
|
|
||||||
|
|
||||||
- stage: build
|
- stage: build
|
||||||
|
node_js: "8"
|
||||||
script: npm run build
|
script: npm run build
|
||||||
|
|
||||||
- stage: release
|
- stage: release
|
||||||
if: branch = master
|
if: branch = master
|
||||||
|
node_js: "8"
|
||||||
script: skip
|
script: skip
|
||||||
deploy:
|
deploy:
|
||||||
provider: script
|
provider: script
|
||||||
|
|||||||
+1
-3
@@ -17,9 +17,7 @@
|
|||||||
"demo:browser": "echo open http://localhost:8080/demo/browser && http-server -c-1",
|
"demo:browser": "echo open http://localhost:8080/demo/browser && http-server -c-1",
|
||||||
"demo:nodejs": "node ./demo/nodejs/index.js",
|
"demo:nodejs": "node ./demo/nodejs/index.js",
|
||||||
"demo:express": "cd ./demo/express/ && npm start",
|
"demo:express": "cd ./demo/express/ && npm start",
|
||||||
"preversion": "npm test",
|
"version": "npm run build && git add -A dist"
|
||||||
"version": "npm run build && git add -A dist",
|
|
||||||
"postversion": "git push --tags"
|
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|||||||
Reference in New Issue
Block a user