From 28a2685ff8c0386079cf5b33311fb720efc2c119 Mon Sep 17 00:00:00 2001 From: "M. Reza Qorib" <rezaqorib96@gmail.com> Date: Wed, 29 Mar 2017 13:22:59 +0700 Subject: [PATCH] Update gitlabci --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 33f38888..6dc284f5 100755 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,12 +11,13 @@ test: - curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash - - sudo apt-get install -y nodejs - npm install + - npm run build-production - service postgresql start - sudo -u postgres psql -c "CREATE USER kape WITH PASSWORD 'kape' CREATEDB" - sudo -u postgres psql -c "CREATE DATABASE kape OWNER kape" - pip install -r requirements.txt - python manage.py migrate -# - python manage.py test + - python manage.py test - npm run karma artifacts: paths: -- GitLab