forked from alyldas/http-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
42 lines (37 loc) · 950 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
35
36
37
38
39
40
41
42
stages:
- test
php_7_1:
stage: test
image: registry.gitlab.com/socialconnect-php/auth:7.1
script:
- composer install -o
- php -S 127.0.0.1:5555 tests/mock-server.php &
- ./vendor/bin/phpunit -v --debug --no-coverage;
tags:
- docker
php_7_2:
stage: test
image: registry.gitlab.com/socialconnect-php/auth:7.2
script:
- composer install -o
- php -S 127.0.0.1:5555 tests/mock-server.php &
- ./vendor/bin/phpunit -v --debug --no-coverage;
tags:
- docker
php_7_3:
stage: test
image: registry.gitlab.com/socialconnect-php/auth:7.3
script:
- composer install -o
- php -S 127.0.0.1:5555 tests/mock-server.php &
- ./vendor/bin/phpunit -v --debug --no-coverage;
tags:
- docker
phpstan:
stage: test
image: registry.gitlab.com/socialconnect-php/auth:7.3
script:
- composer install -o
- ./vendor/bin/phpstan.phar analyse src/ --no-progress --level 2
tags:
- docker