From e8d67ad583bc3b30c529dcb3ae3984cddce0d1b2 Mon Sep 17 00:00:00 2001 From: dezoito Date: Fri, 13 May 2016 15:57:54 -0300 Subject: [PATCH] Added fist version of gitlab ci file --- .gitlab-ci.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 000000000..0fcce2f94 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,22 @@ +# This is a configuration file to run GitLab's CI integration +# You can find more info on how to set it up in these URLS +# +# http://dezoito.github.io/2016/05/11/django-gitlab-continuous-integration-phantomjs.html +# http://docs.gitlab.com/ce/ci/yaml/README.html +# +# You'll need to manually provide info on how to setup and connect to your database, +# unless it's SQLite, so please, consider this as a starting point and not an end to end +# solution + + +# Select image from https://hub.docker.com/ +image: python:3.5 + +all_tests: + script: + - sh {{cookiecutter.project_slug}}/utility/install_os_dependencies.sh + - sh {{cookiecutter.project_slug}}/utility/install_python_dependencies.sh + - python manage.py test -k + when: on_success + only: + - dev