[SUCS Devel] [Git][sucssite/sucs-site][ci] Fix how php files are passed to php -l

Imran Hussain imranh at sucs.org
Sun Nov 8 00:53:14 GMT 2015


Imran Hussain pushed to branch ci at sucssite / sucs-site


Commits:
daa1dfd6 by Imran Hussain at 2015-11-08T00:53:11Z
Fix how php files are passed to php -l
- - - - -


1 changed file:

- .gitlab-ci.yml


Changes:

=====================================
.gitlab-ci.yml
=====================================
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,6 +6,6 @@ before_script:
 syntax:
   script:
   - php -l htdocs/index.php
-  - php -l components/*.php
-  - php -l plugins/*.php
-  - php -l lib/*.php
\ No newline at end of file
+  - find components | xargs -n 1 php -l
+  - find plugins | xargs -n 1 php -l
+  - find lib | xargs -n 1 php -l
\ No newline at end of file



View it on GitLab: https://projects.sucs.org/sucssite/sucs-site/commit/daa1dfd603750d6d6de8ee4b3e97b7cd3e72bf3f
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sucs.org/pipermail/devel/attachments/20151108/7dd8169e/attachment.html>


More information about the Devel mailing list