.gitlab-ci.yml 498 Bytes
Newer Older
1
stages:
Nigel Kukard's avatar
Nigel Kukard committed
2
  - quality
Nigel Kukard's avatar
Nigel Kukard committed
3
  - tests
4

Nigel Kukard's avatar
Nigel Kukard committed
5
6
code:
  stage: quality
7
  script:
Nigel Kukard's avatar
Nigel Kukard committed
8
    - export DEBIAN_FRONTEND=noninteractive
9
10
11
    - apt-get update
    - apt-get dist-upgrade -y
    - apt-get install -y libperl-critic-perl
12
    - perlcritic --gentle "$CI_PROJECT_DIR"
13

Nigel Kukard's avatar
Nigel Kukard committed
14
tests:
Nigel Kukard's avatar
Nigel Kukard committed
15
  stage: tests
Nigel Kukard's avatar
Nigel Kukard committed
16
  script:
Nigel Kukard's avatar
Nigel Kukard committed
17
    - export DEBIAN_FRONTEND=noninteractive
Nigel Kukard's avatar
Nigel Kukard committed
18
19
20
21
    - apt-get update
    - apt-get dist-upgrade -y
    - apt-get install -y git
    - apt-get install -y mysql-server
Nigel Kukard's avatar
Nigel Kukard committed
22
23
24
    - cd "$CI_PROJECT_DIR"
    - ./update-git-modules