From 394b18d6dbdceb645c8a7c8cefc9e59fc2a4119b Mon Sep 17 00:00:00 2001
From: Imran Hussain <imranh@sucs.org>
Date: Sun, 8 Nov 2015 01:03:21 +0000
Subject: [PATCH] Add the right file...

---
 .gitlab-ci.yml | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index dbe40ec..b802fc5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,8 +1,11 @@
-image: php 5.4-cli
+before_script:
+  - apt-get clean
+  - apt-get update
+  - apt-get install -y php5-cli
 
 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
-- 
GitLab