-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
42 lines (40 loc) · 889 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
tests_basic:
stage: test
except:
- tags
image: registry.gitlab.com/thgnet/docker-centos7wre:v2.1
variables:
RUNTIME_TYPE: development
RUNTIME_VERSION: php72
RUNTIME_EXTENSIONS: xdebug
script:
- tests/run_static_checks.sh
- tests/run_tests.sh all
cache:
key:
files:
- tests/run_static_checks.sh
paths:
- .local.tools
tests_php_versions:
stage: test
needs: [ "tests_basic" ]
except:
- tags
image: registry.gitlab.com/thgnet/docker-centos7wre:v2.1
variables:
RUNTIME_TYPE: development
parallel:
matrix:
- RUNTIME_VERSION: php53
- RUNTIME_VERSION: php56
- RUNTIME_VERSION: php72
- RUNTIME_VERSION: php74
- RUNTIME_VERSION: php80
- RUNTIME_VERSION: php81
- RUNTIME_VERSION: php82
- RUNTIME_VERSION: php83
script:
- tests/run_tests.sh php