Update .gitlab-ci.yml
This commit is contained in:
parent
903351bfc6
commit
3950690f34
|
@ -1,7 +1,3 @@
|
||||||
only:
|
|
||||||
- master
|
|
||||||
tags:
|
|
||||||
- default
|
|
||||||
# Select what we should cache between builds
|
# Select what we should cache between builds
|
||||||
cache:
|
cache:
|
||||||
paths:
|
paths:
|
||||||
|
@ -22,12 +18,16 @@ before_script:
|
||||||
# Run our tests
|
# Run our tests
|
||||||
# If Xdebug was installed you can generate a coverage report and see code coverage metrics.
|
# If Xdebug was installed you can generate a coverage report and see code coverage metrics.
|
||||||
test:7.4:
|
test:7.4:
|
||||||
|
only:
|
||||||
|
- master
|
||||||
tags:
|
tags:
|
||||||
- default
|
- default
|
||||||
image: php:7.4
|
image: php:7.4
|
||||||
script:
|
script:
|
||||||
- vendor/bin/phpunit --configuration phpunit.xml --coverage-text --colors=never
|
- vendor/bin/phpunit --configuration phpunit.xml --coverage-text --colors=never
|
||||||
test:8.0:
|
test:8.0:
|
||||||
|
only:
|
||||||
|
- master
|
||||||
tags:
|
tags:
|
||||||
- default
|
- default
|
||||||
image: php:8.0
|
image: php:8.0
|
||||||
|
|
Loading…
Reference in New Issue