scripts/.gitlab-ci.yml

34 lines
941 B
YAML
Raw Normal View History

# This file is part of scripts.
# scripts is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, version 3.
# scripts is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with scripts. If not, see <https://www.gnu.org/licenses/>.
# Original author: Maciej Barć <xgqt@riseup.net>
# Copyright (c) 2020, src_prepare group
# Licensed under the GNU GPL v3 License
2020-09-16 14:57:41 +02:00
image: debian:stable-slim
2020-09-16 14:57:41 +02:00
stages:
- test
before_script:
- apt-get update
- apt-get install -y bash pylint3 shellcheck
2020-09-16 17:57:28 +02:00
- ln -fs $(which pylint3) /usr/bin/pylint
2020-09-16 14:57:41 +02:00
test:
stage: test
script:
2020-09-16 14:57:41 +02:00
- bash test.sh