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

---
 .gitlab-ci.yml | 4 ++--
 composer.json  | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 291bd2e..d21d0e7 100755
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -11,10 +11,10 @@ variables:
 before_script:
   - export http_proxy=${HTTP_PROXY}
   - export https_proxy=${HTTP_PROXY}
-  - apk add --no-cache icu-dev
+	- pecl install xdebug
   - docker-php-ext-configure intl
   - docker-php-ext-install json intl mysqli
-  - docker-php-ext-enable json intl mysqli
+  - docker-php-ext-enable json intl mysqli debug
 
   - curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer
   - http_proxy=${HTTP_PROXY} https_proxy="" composer global require hirak/prestissimo
diff --git a/composer.json b/composer.json
index 436e506..9e34926 100755
--- a/composer.json
+++ b/composer.json
@@ -17,7 +17,7 @@
 		"paragonie/random_compat": "Provides better randomness in PHP 5.x"
 	},
 	"scripts": {
-		"test": "phpunit --configuration application/tests"
+		"test": "phpunit --configuration application/tests --coverage-text --coverage-html report"
 	},
 	"require-dev": {
 		"mikey179/vfsStream": "1.1.*",
-- 
GitLab