We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b86a171 commit 2ee58e1Copy full SHA for 2ee58e1
1 file changed
.gitlab-ci.yml
@@ -37,16 +37,29 @@ test:php:
37
coverage: '/^\s*Lines:\s*\d+.\d+\%/'
38
39
test:php:mysql:
40
- extends: test:php
+ stage: test
41
+ timeout: 10 minutes
42
+ cache:
43
+ paths:
44
+ - vendor/
45
services:
46
- name: mysql
47
command:
48
- --default-authentication-plugin=mysql_native_password
49
- --local-infile=true
50
variables:
51
MYSQL_HOST: mysql
52
+ MYSQL_DATABASE: framework-tests
53
+ MYSQL_ROOT_PASSWORD: password
54
DB_HOST: mysql
55
DB_IMAGE: mysql
56
+ before_script:
57
+ - php -v
58
+ - composer update
59
+ script:
60
+ - vendor/bin/phpunit --colors=never
61
+ coverage: '/^\s*Lines:\s*\d+.\d+\%/'
62
+
63
64
pages:
65
stage: deploy
0 commit comments