diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f71f8711665bd63ef32aac9c56fa0102f1066ed3..fc418affa6323c8ece4c12ae23ed6b07c7977f8b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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