-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
40 lines (39 loc) · 924 Bytes
/
.gitlab-ci.yml
File metadata and controls
40 lines (39 loc) · 924 Bytes
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
35
36
37
38
39
40
cache:
paths:
- vendor/
before_script:
- apt-get update -yqq
- apt-get install git -yqq
- curl -sS https://getcomposer.org/installer | php
- php composer.phar install
- ./vendor/bin/phpcs --config-set ignore_warnings_on_exit 1
test:5.4:
image: php:5.4
script:
- ./vendor/bin/phpcs --standard=psr2 src/
- ./vendor/bin/peridot test/
test:5.4:
image: php:5.5
script:
- ./vendor/bin/phpcs --standard=psr2 src/
- ./vendor/bin/peridot test
test:5.6:
image: php:5.6
script:
- ./vendor/bin/phpcs --standard=psr2 src/
- ./vendor/bin/peridot test
test:7.0:
image: php:7.0
script:
- ./vendor/bin/phpcs --standard=psr2 src/
- ./vendor/bin/peridot test
test:7.1:
image: php:7.1
script:
- ./vendor/bin/phpcs --standard=psr2 src/
- ./vendor/bin/peridot test
test:7.2:
image: php:7.2
script:
- ./vendor/bin/phpcs --standard=psr2 src/
- ./vendor/bin/peridot test