Define gitlab CI
This commit is contained in:
parent
8f5d9b2c97
commit
5ce3fddf62
1 changed files with 20 additions and 0 deletions
20
.gitlab-ci.yml
Normal file
20
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,20 @@
|
|||
stages:
|
||||
- test
|
||||
|
||||
unit_tests:
|
||||
stage: test
|
||||
before_script:
|
||||
- 'apk update'
|
||||
- 'apk add make rsync'
|
||||
script:
|
||||
- make test
|
||||
|
||||
shellcheck:
|
||||
stage: test
|
||||
before_script:
|
||||
- 'apk update'
|
||||
- 'apk add make'
|
||||
- 'wget https://storage.googleapis.com/shellcheck/shellcheck-stable.linux.x86_64.tar.xz'
|
||||
- 'tar xf shellcheck-stable.linux.x86_64.tar.xz && mv shellcheck-stable/shellcheck /usr/bin/'
|
||||
script:
|
||||
- make shellcheck
|
Loading…
Reference in a new issue