From a37afb6b46ba9ef4e898c771d3f2f93238731396 Mon Sep 17 00:00:00 2001 From: Ryuuji Date: Wed, 3 Jun 2020 10:44:29 +0000 Subject: [PATCH] Add .gitlab-ci.yml --- .gitlab-ci.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..6b9da35 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,16 @@ +image: python:latest + +services: + - mysql:latest + - postgres:latest + +cache: + paths: + - ~/.cache/pip/ + +before_script: + - pip install -r requirements.txt + +test: + script: + - python manage.py test