openvpn-install/.gitlab-ci.yml
2019-02-25 23:11:48 +01:00

20 lines
498 B
YAML

image: debian:buster-slim
stages:
- Bash linting
- Vagrant linting
shellcheck:
stage: Bash linting
script:
- apt-get update
- apt-get install -y shellcheck
- shellcheck -e SC1091,SC2164,SC2034,SC1072,SC1073,SC1009 openvpn-install.sh
vagrant validate:
stage: Vagrant linting
script:
- echo "deb http://deb.debian.org/debian stretch main contrib" > /etc/apt/sources.list
- apt-get update
- apt-get install --no-install-recommends -y vagrant virtualbox
- vagrant validate