Commit 3cc44bb1 authored by Erick Hitter's avatar Erick Hitter
Browse files

Capture PHPUnit reports

Depends on GitLab 11.2.

Fixes #3
parent eba0b23f
Pipeline #242 passed with stage
in 13 minutes and 58 seconds
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment