Update .gitlab-ci.yml
This commit is contained in:
parent
ae9d13e093
commit
3d3e8dbea4
|
@ -2,8 +2,7 @@
|
||||||
cache:
|
cache:
|
||||||
paths:
|
paths:
|
||||||
- vendor/
|
- vendor/
|
||||||
tags:
|
|
||||||
- default
|
|
||||||
before_script:
|
before_script:
|
||||||
- apt-get update -yqq
|
- apt-get update -yqq
|
||||||
- apt-get install -yqq git unzip
|
- apt-get install -yqq git unzip
|
||||||
|
@ -23,19 +22,24 @@ 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:
|
||||||
|
tags:
|
||||||
|
- default
|
||||||
image: php:7.3
|
image: php:7.3
|
||||||
only:
|
only:
|
||||||
- 0.x@sikofitt/generate-mac
|
- 0.x@sikofitt/generate-mac
|
||||||
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:
|
||||||
|
tags:
|
||||||
|
- default
|
||||||
image: php:7.4
|
image: php:7.4
|
||||||
only:
|
only:
|
||||||
- 0.x@sikofitt/generate-mac
|
- 0.x@sikofitt/generate-mac
|
||||||
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:
|
||||||
|
tags:
|
||||||
|
- default
|
||||||
image: php:8.0
|
image: php:8.0
|
||||||
only:
|
only:
|
||||||
- branches
|
- branches
|
||||||
|
|
Loading…
Reference in New Issue