Update .gitlab-ci.yml

This commit is contained in:
R. Eric Wheeler 2021-01-21 19:31:08 +00:00
parent 7b567cadea
commit f54213b173
1 changed files with 15 additions and 16 deletions

View File

@ -1,4 +1,3 @@
# Select what we should cache between builds # Select what we should cache between builds
cache: cache:
paths: paths:
@ -22,23 +21,23 @@ variables:
# 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.3 test:7.3:
image: php:7.3 image: php:7.3
builds: builds:
- 0.x - 0.x
script: script:
- vendor/bin/phpunit --configuration phpunit.xml.dist --coverage-text --colors=never - vendor/bin/phpunit --configuration phpunit.xml.dist --coverage-text --colors=never
test:7.4 test:7.4:
image: php:7.4 image: php:7.4
builds: builds:
- 0.x - 0.x
script: script:
- vendor/bin/phpunit --configuration phpunit.xml.dist --coverage-text --colors=never - vendor/bin/phpunit --configuration phpunit.xml.dist --coverage-text --colors=never
test:8.0 test:8.0:
image: php:8.0 image: php:8.0
builds: builds:
- 0.x - 0.x
- 1.x - 1.x
- master - master
script: script:
- vendor/bin/phpunit --configuration phpunit.xml.dist --coverage-text --colors=never - vendor/bin/phpunit --configuration phpunit.xml.dist --coverage-text --colors=never