From af1d46d22501d3e4fd5e9245998fb82c0836bee2 Mon Sep 17 00:00:00 2001
From: Ray Andrew <13515073@std.stei.itb.ac.id>
Date: Fri, 27 Apr 2018 00:29:14 +0700
Subject: [PATCH] Initial commit

---
 .gitlab-ci.yml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index bc2f8bc..867e0a6 100755
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -11,6 +11,16 @@ variables:
 before_script:
   - export http_proxy=${HTTP_PROXY}
   - export https_proxy=${HTTP_PROXY}
+  - pear config-set http_proxy ${HTTP_PROXY}
+  - pear update-channels && pear upgrade --force
+  - wget http://pecl.php.net/get/xdebug-2.6.0.tgz
+  - tar xzf xdebug-2.6.0.tgz
+  - cd xdebug-2.6.0/
+  - phpize
+  - ./configure
+  - make && make install
+  - cd ..
+  - docker-php-ext-enable xdebug
   - pecl install xdebug
   - docker-php-ext-configure intl
   - docker-php-ext-install json intl mysqli
-- 
GitLab