diff --git a/templates/plugin-gitlab.mustache b/templates/plugin-gitlab.mustache index 78d1f13d..59e9f3bb 100644 --- a/templates/plugin-gitlab.mustache +++ b/templates/plugin-gitlab.mustache @@ -5,7 +5,7 @@ variables: before_script: # Install dependencies - + # update the docker - apt-get clean - apt-get -yqq update @@ -22,7 +22,9 @@ before_script: # Install PHPCS and WPCS - composer global require "squizlabs/php_codesniffer=*" - composer global require "wp-coding-standards/wpcs" - - phpcs --config-set installed_paths $HOME/.composer/vendor/wp-coding-standards/wpcs + - composer global require "phpcompatibility/phpcompatibility-wp" + - vendor="$HOME/.composer/vendor" + - phpcs --config-set installed_paths "$vendor/wp-coding-standards/wpcs,$vendor/phpcompatibility/php-compatibility,$vendor/phpcompatibility/phpcompatibility-paragonie,$vendor/phpcompatibility/phpcompatibility-wp" PHPunit:PHP5.3:MySQL: image: tetraweb/php:5.3 @@ -39,7 +41,7 @@ PHPunit:PHP5.6:MySQL: script: - phpcs - phpunit - + PHPunit:PHP7.0:MySQL: image: tetraweb/php:7.0 services: