added ci scripts for rust
This commit is contained in:
@@ -1,8 +1,18 @@
|
||||
# image: scorpil/rust:stable
|
||||
image: scorpil/rust:stable
|
||||
|
||||
stages:
|
||||
- test
|
||||
|
||||
cargo:test:
|
||||
stage: test
|
||||
script:
|
||||
- ci/run-cargo-test.sh
|
||||
|
||||
rustfmt:
|
||||
stage: test
|
||||
script:
|
||||
- ci/run-rustfmt.sh
|
||||
|
||||
shellcheck:
|
||||
stage: test
|
||||
image: ubuntu:yakkety
|
||||
@@ -13,4 +23,4 @@ shellcheck:
|
||||
- export LANGUAGE=en_US:en
|
||||
- export LC_ALL=en_US.UTF-8
|
||||
script:
|
||||
- find . -type f -name '*.sh' -print0 | xargs -n 1 -0 shellcheck --color
|
||||
- ci/run-shellcheck.sh
|
||||
|
||||
Reference in New Issue
Block a user