mirror of
https://github.com/harttle/liquidjs.git
synced 2026-10-03 09:05:14 -07:00
chore(CI): assign node_js for each script
This commit is contained in:
+6
-6
@@ -1,24 +1,24 @@
|
|||||||
language: node_js
|
language: node_js
|
||||||
node_js:
|
node_js: "8"
|
||||||
- "8"
|
|
||||||
- "6"
|
|
||||||
- "4"
|
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
- stage: test
|
- stage: test
|
||||||
name: 'Linting'
|
name: 'Linting'
|
||||||
script: npm run lint
|
script: npm run lint
|
||||||
- name: 'Unit Test'
|
- name: 'Unit Test'
|
||||||
script: if (( $TRAVIS_NODE_VERSION >= 6 )); then npm run unit && npm run coveralls; fi
|
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
|
||||||
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
|
||||||
|
|||||||
Reference in New Issue
Block a user