Browse Source

More changes

master
Mike Koch 2 years ago
parent
commit
02ccb65b27
No account linked to committer's email address
2 changed files with 1 additions and 9 deletions
  1. 0
    8
      .gitlab-ci.yml
  2. 1
    1
      ci/php_lint.sh

+ 0
- 8
.gitlab-ci.yml View File

@@ -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:

+ 1
- 1
ci/php_lint.sh View File

@@ -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


Loading…
Cancel
Save