From 5b016ae816891ac2568b505882770a60119cf4bc Mon Sep 17 00:00:00 2001
From: nilstes <nils.tesdal@gmail.com>
Date: Tue, 11 Sep 2018 16:39:17 +0200
Subject: [PATCH] feilsok

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e5adc0e..283f7e2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -18,6 +18,8 @@ variables:
 # Install node libraries
 before_script:
   - npm install
+  - apt-get update -q && apt-get install -qqy --no-install-recommends mysql-client
+  - mysql --user=root --password="$MYSQL_ROOT_PASSWORD" --host=mysql "$MYSQL_DATABASE" < create_tables.sql
   
 # Run JEST tests
 test:
-- 
GitLab