summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
blob: 25ece161b444d49c2c2543b4e130e5e90c8bfaed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
stages:
  - "Code quality, linting, syntax, code style"

job 1:
  stage: "Code quality, linting, syntax, code style"
  before_script:
    - apt-get clean all && apt-get update
    - apt-get install -y shellcheck
  script: shellcheck --format=gcc $(find . -name '*.sh.in' -not -iwholename '*.git*')

job 2:
  stage: "Code quality, linting, syntax, code style"
  script: ./tests/installer/checksums.sh
  variables:
    LOCAL_ONLY: "true"

job 3:
  stage: "Code quality, linting, syntax, code style"
  script: cp web/gui/dashboard.js /tmp/dashboard.js && ./build/build.sh && diff /tmp/dashboard.js web/gui/dashboard.js