Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
WP Plugins
camo-image-proxy
Commits
bdc93865
Commit
bdc93865
authored
Aug 21, 2018
by
Erick Hitter
Browse files
Testing linting and unit-test reporting
parent
592f0567
Pipeline
#361
passed with stage
in 16 minutes and 27 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
bdc93865
...
...
@@ -24,26 +24,38 @@ before_script:
-
composer global require automattic/vipwpcs
-
phpcs --config-set installed_paths $HOME/.composer/vendor/wp-coding-standards/wpcs,$HOME/.composer/vendor/automattic/vipwpcs
PHPunit:PHP7.0:MySQL
:
test_7.0
:
image
:
containers.ethitter.com:443/docker/images/php:7.0
services
:
-
mysql:5.6
script
:
-
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
:
test_7.1
:
image
:
containers.ethitter.com:443/docker/images/php:7.1
services
:
-
mysql:5.6
script
:
-
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
:
test_7.2
:
image
:
containers.ethitter.com:443/docker/images/php:7.2
services
:
-
mysql:5.6
script
:
-
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment