2020-12-29 21:21:17 +01:00
|
|
|
# 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
|
2021-03-29 13:02:30 +02:00
|
|
|
# the Free Software Foundation, version 3.
|
2020-12-29 21:21:17 +01:00
|
|
|
|
|
|
|
# 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/>.
|
|
|
|
|
2021-04-18 02:02:15 +02:00
|
|
|
# Original author: Maciej Barć <xgqt@riseup.net>
|
2020-12-29 21:21:17 +01:00
|
|
|
# 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-03-20 21:40:26 +01:00
|
|
|
|
2020-09-16 14:57:41 +02:00
|
|
|
stages:
|
|
|
|
- test
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
- apt-get update
|
2020-09-16 17:52:34 +02:00
|
|
|
- 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:
|
2020-03-20 21:40:26 +01:00
|
|
|
stage: test
|
|
|
|
script:
|
2020-09-16 14:57:41 +02:00
|
|
|
- bash test.sh
|