summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
blob: a7db39259393dfe82f4bbabd744505927569c0c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
variables:
  # Not normally needed, but may be if some script uses `apt-get install`.
  DEBIAN_FRONTEND: noninteractive
# Locale settings do not affect the build, but might affect tests.
  LC_ALL: C

  CI_REGISTRY_IMAGE: registry.gitlab.isc.org/isc-projects/images/bind9

stages:
  - test

shellcheck:
  stage: test
  image: "$CI_REGISTRY_IMAGE:debian-stretch-amd64"
  before_script:
    - sudo apt-get -y install shellcheck
  script:
    - SCRIPTS="src/bin/keactrl/keactrl.in src/bin/admin/kea-admin.in src/bin/admin/admin-utils.sh"
    - shellcheck ${SCRIPTS}