diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c6cc1486..b7b12e73 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,32 +14,24 @@ validate:7.1: image: php:7.1 stage: validate script: - - php composer.phar update --no-dev - - php composer.phar install --no-dev - bash ci/php_lint.sh ./ validate:7.0: image: php:7.0 stage: validate script: - - php composer.phar update --no-dev - - php composer.phar install --no-dev - bash ci/php_lint.sh ./ validate:5.6: image: php:5.6 stage: validate script: - - php composer.phar update --no-dev - - php composer.phar install --no-dev - bash ci/php_lint.sh ./ validate:5.5: image: php:5.5 stage: validate script: - - php composer.phar update --no-dev - - php composer.phar install --no-dev - bash ci/php_lint.sh ./ test:7.1: diff --git a/ci/php_lint.sh b/ci/php_lint.sh index 8c58e1aa..1e0c3ad1 100644 --- a/ci/php_lint.sh +++ b/ci/php_lint.sh @@ -12,7 +12,7 @@ while test $# -gt 0; do continue fi - for file in `find $current -type f -not -path "*vendor/*" -not -path "*api/*" -name "*.php"` ; do + for file in `find $current -type f -not -path "*vendor/*" -name "*.php"` ; do RESULTS=`php -l $file` echo $RESULTS