CI add test stage with node 7.x
This commit is contained in:
parent
23a4a22869
commit
2fd44e6ce4
@ -593,6 +593,19 @@ js-test:
|
|||||||
tags:
|
tags:
|
||||||
- rust
|
- rust
|
||||||
- rust-stable
|
- rust-stable
|
||||||
|
js-test-node_7:
|
||||||
|
stage: test
|
||||||
|
image: parity/rust-debian-node_7:gitlab-ci
|
||||||
|
before_script:
|
||||||
|
- git submodule update --init --recursive
|
||||||
|
- export JS_FILES_MODIFIED=$(git --no-pager diff --name-only $CI_BUILD_REF^ $CI_BUILD_REF | grep ^js/ | wc -l)
|
||||||
|
- if [ $JS_FILES_MODIFIED -eq 0 ]; then echo "Skipping JS deps install since no JS files modified."; else ./js/scripts/install-deps.sh;fi
|
||||||
|
script:
|
||||||
|
- if [ $JS_FILES_MODIFIED -eq 0 ]; then echo "Skipping JS lint since no JS files modified."; else ./js/scripts/lint.sh && ./js/scripts/test.sh && ./js/scripts/build.sh; fi
|
||||||
|
tags:
|
||||||
|
- rust
|
||||||
|
- rust-stable
|
||||||
|
allow_failure: true
|
||||||
test-rust-beta:
|
test-rust-beta:
|
||||||
stage: test
|
stage: test
|
||||||
only:
|
only:
|
||||||
|
Loading…
Reference in New Issue
Block a user