-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
34 lines (30 loc) · 992 Bytes
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
stages:
- test
before_script:
- whoami
- pwd
- cat /etc/os-release
# Check syntax of PHP files
parallel-lint:
stage: test
image: gitlabregistry.fit.nasa.gov/nasawiki/meza-test-docker:latest
script:
- composer install --no-interaction --no-progress
- composer test-parallel-lint
# Code conventions using PHP Code Sniffer
# Relies upon file .phpcs.xml in root of this repository
# Uncomment this and add .phpcs.xml if Syncbot maintainers want code convention enforcement
# phpcs:
# stage: test
# image: gitlabregistry.fit.nasa.gov/nasawiki/meza-test-docker:latest
# script:
# - composer install --no-interaction --no-progress
# - composer test-phpcs
# Ensure execute bit not set on files (with exceptions) per WMF standards
# Ref: https://www.mediawiki.org/wiki/MinusX
minus-x:
stage: test
image: gitlabregistry.fit.nasa.gov/nasawiki/meza-test-docker:latest
script:
- composer install --no-interaction --no-progress
- composer test-minus-x