From b947cf5604bd77b8b5c3f3043b7d0bd88cb55714 Mon Sep 17 00:00:00 2001
From: Krzysztof Dyszczyk <krzysiek@inspirelabs.pl>
Date: Sat, 17 Mar 2018 16:16:01 +0100
Subject: [PATCH] Use composer from docker

---
 .gitlab-ci.yml | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 94dce66..f3feb5a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -32,9 +32,7 @@ build php:
     paths:
       - vendor/
   script:
-    - wget -nc https://getcomposer.org/download/1.6.3/composer.phar
-    - wget -nc https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
-    - php composer.phar install --no-progress
+    - composer install --no-progress
 
 #build js:
 #  image: node:slim
@@ -56,8 +54,6 @@ code style test:
     - ls -l
     - php --version
     - php composer.phar phpcs
-  except:
-      - devel-deploy
 
 unit test 0:
   image: wpdesknet/phpunit-woocommerce:0-0
-- 
GitLab