test.yml 645 Bytes
Newer Older
1
2
3
Test Container Versions:
  stage: test
  tags:
Alan Nelson's avatar
Alan Nelson committed
4
    - linux
5
    - dockerd
Alan Nelson's avatar
Alan Nelson committed
6
  needs: ["Make Static Code Analysis", "Make Detect Secrets", "Make Dependency Check"]
Alan Nelson's avatar
Alan Nelson committed
7
8
9
  only:
    - develop
  script:
10
11
12
13
14
15
16
    - docker run --rm its-registry.unl.edu/unl-its/docker-ci/static-code-analysis sonar-scanner -v
    - docker run --rm -v "${PWD}:/work" -w /work its-registry.unl.edu/unl-its/docker-ci/detect-secrets -s
    - docker run --rm its-registry.unl.edu/unl-its/docker-ci/dependency-check dependency-check -v

Test PHP Lint:
  stage: test
  tags:
Alan Nelson's avatar
Alan Nelson committed
17
18
    - linux
    - dockerd
Alan Nelson's avatar
Alan Nelson committed
19
  needs: ["Make PHP Lint"]
Alan Nelson's avatar
Alan Nelson committed
20
21
22
  only:
    - develop
  script:
23
24
    - t/php-lint/tests.sh