diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..552f438e94b41fa032c4250d61de15efa940dec8 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,23 @@ +--- +# A pipeline is composed of independent jobs that run scripts, grouped into stages. +# Stages run in sequential order, but jobs within stages run in parallel. +# +# For more information, see: https://docs.gitlab.com/ee/ci/yaml/index.html#stages + +image: debian:stable-slim + +stages: # List of stages for jobs, and their order of execution + - test + +default: + tags: + - docker + +before_script: + - apt-get update + - apt-get -y install shellcheck xargs + +test-syntax-job: # This job runs in the test stage. + stage: test # It only starts when the job in the build stage completes successfully. + script: + - find ./ -name *.sh | xargs shellcheck --color=always --shell=bash --external-sources