Added fist version of gitlab ci file

This commit is contained in:
dezoito 2016-05-13 15:57:54 -03:00
parent 0601795f68
commit e8d67ad583

22
.gitlab-ci.yml Normal file
View File

@ -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