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>
|
2021-06-04 10:50:01 +02:00
|
|
|
# Copyright (c) 2020-2021, src_prepare group
|
2020-12-29 21:21:17 +01:00
|
|
|
# Licensed under the GNU GPL v3 License
|
|
|
|
|
|
|
|
|
2021-06-04 10:50:01 +02:00
|
|
|
image: dyne/devuan:ceres
|
|
|
|
|
2020-03-20 21:40:26 +01:00
|
|
|
|
2020-09-16 14:57:41 +02:00
|
|
|
stages:
|
|
|
|
- test
|
|
|
|
|
2021-06-04 10:50:01 +02:00
|
|
|
|
2020-09-16 14:57:41 +02:00
|
|
|
before_script:
|
2021-06-04 10:50:01 +02:00
|
|
|
- apt 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
|
|
|
|
2021-06-04 10:50:01 +02:00
|
|
|
|
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
|