added led.sh and gitlab-ci shellcheck

This commit is contained in:
Simon Wörner
2017-03-30 16:40:56 +02:00
parent 422cd435c6
commit 69fc6e0797
2 changed files with 60 additions and 0 deletions

16
.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,16 @@
# image: scorpil/rust:stable
stages:
- test
shellcheck:
stage: test
image: ubuntu:yakkety
before_script:
- apt-get update && apt-get install -y shellcheck
- locale-gen en_US.UTF-8
- export LANG=en_US.UTF-8
- 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