Skip to content
Snippets Groups Projects
Commit 3cc44bb1 authored by Erick Hitter's avatar Erick Hitter
Browse files

Capture PHPUnit reports

Depends on GitLab 11.2.

Fixes #3
parent eba0b23f
No related branches found
No related tags found
1 merge request!9WIP: Capture PHPUnit reports
Pipeline #242 passed
......@@ -32,6 +32,9 @@ PHPunit:PHP5.3:MySQL:
- find . -type "f" -iname "*.php" | xargs -L "1" php -l
- phpcs -n
- phpunit
artifacts:
reports:
junit: /tmp/wordpress-tests-lib/tests/phpunit/build/logs/junit.xml
PHPunit:PHP5.6:MySQL:
image: containers.ethitter.com:443/docker/images/php:5.6
......@@ -41,6 +44,9 @@ PHPunit:PHP5.6:MySQL:
- find . -type "f" -iname "*.php" | xargs -L "1" php -l
- phpcs -n
- phpunit
artifacts:
reports:
junit: /tmp/wordpress-tests-lib/tests/phpunit/build/logs/junit.xml
PHPunit:PHP7.0:MySQL:
image: containers.ethitter.com:443/docker/images/php:7.0
......@@ -50,6 +56,9 @@ PHPunit:PHP7.0:MySQL:
- find . -type "f" -iname "*.php" | xargs -L "1" php -l
- phpcs -n
- phpunit
artifacts:
reports:
junit: /tmp/wordpress-tests-lib/tests/phpunit/build/logs/junit.xml
PHPunit:PHP7.1:MySQL:
image: containers.ethitter.com:443/docker/images/php:7.1
......@@ -59,6 +68,9 @@ PHPunit:PHP7.1:MySQL:
- find . -type "f" -iname "*.php" | xargs -L "1" php -l
- phpcs -n
- phpunit
artifacts:
reports:
junit: /tmp/wordpress-tests-lib/tests/phpunit/build/logs/junit.xml
PHPunit:PHP7.2:MySQL:
image: containers.ethitter.com:443/docker/images/php:7.2
......@@ -68,3 +80,6 @@ PHPunit:PHP7.2:MySQL:
- find . -type "f" -iname "*.php" | xargs -L "1" php -l
- phpcs -n
- phpunit
artifacts:
reports:
junit: /tmp/wordpress-tests-lib/tests/phpunit/build/logs/junit.xml
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment