From a9715fd85e22b0ac5d545b5acd1916df49481421 Mon Sep 17 00:00:00 2001
From: Ray Andrew <13515073@std.stei.itb.ac.id>
Date: Thu, 26 Apr 2018 23:47:50 +0700
Subject: [PATCH] Initial commit

---
 .gitlab-ci.yml       |  1 +
 ci/docker_install.sh | 18 ------------------
 2 files changed, 1 insertion(+), 18 deletions(-)
 delete mode 100755 ci/docker_install.sh

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 084535a..a753a05 100755
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -40,6 +40,7 @@ before_script:
   # - http_proxy=${HTTP_PROXY}` https_proxy="" composer install
   # - echo \$active_group = \'test\'\; >> application/config/config.php
   - http_proxy=${HTTP_PROXY} https_proxy="" composer install
+	- php vendor/kenjis/ci-phpunit-test/install.php
   - php importersql.php
 
 test:
diff --git a/ci/docker_install.sh b/ci/docker_install.sh
deleted file mode 100755
index 298b5ff..0000000
--- a/ci/docker_install.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/bash
-
-# We need to install dependencies only for Docker
-[[ ! -e /.dockerenv ]] && exit 0
-
-set -xe
-
-# Install git (the php image doesn't have it) which is required by composer
-apt-get update -yqq
-apt-get install git -yqq
-
-# Install phpunit, the tool that we will use for testing
-curl --location --output /usr/local/bin/phpunit https://phar.phpunit.de/phpunit.phar
-chmod +x /usr/local/bin/phpunit
-
-# Install mysql driver
-# Here you can install any other extension that you need
-docker-php-ext-install pdo_mysql
\ No newline at end of file
-- 
GitLab