Commit 559e4dc8 authored by Valentin Samir's avatar Valentin Samir

Add support of gitlab continuous integration

parent 80a1eef9
Pipeline #575 passed with stage
in 13 minutes and 44 seconds
before_script:
- pip install tox setuptools
flake8:
image: "python:2.7"
cache:
key: flake8
paths:
- .tox/flake8
script:
- tox -e flake8
check_rst:
image: "python:2.7"
cache:
key: check_rst
paths:
- .tox/check_rst
script:
- tox -e check_rst
py27-django17:
image: "python:2.7"
cache:
key: py27-django17
paths:
- .tox/py27-django17
script:
- tox -e py27-django17
py27-django18:
image: "python:2.7"
cache:
key: py27-django18
paths:
- .tox/py27-django18
script:
- tox -e py27-django18
py27-django19:
image: "python:2.7"
cache:
key: py27-django19
paths:
- .tox/py27-django19
script:
- tox -e py27-django19
py27-django110:
image: "python:2.7"
cache:
key: py27-django110
paths:
- .tox/py27-django110
script:
- tox -e py27-django110
py34-django17:
image: "python:3.4"
cache:
key: py34-django17
paths:
- .tox/py34-django17
script:
- tox -e py34-django17
py34-django18:
image: "python:3.4"
cache:
key: py34-django18
paths:
- .tox/py34-django18
script:
- tox -e py34-django18
py34-django19:
image: "python:3.4"
cache:
key: py34-django19
paths:
- .tox/py34-django19
script:
- tox -e py34-django19
py34-django110:
image: "python:3.4"
cache:
key: py34-django110
paths:
- .tox/py34-django110
script:
- tox -e py34-django110
py35-django18:
image: "python:3.5"
cache:
key: py35-django18
paths:
- .tox/py35-django18
script:
- tox -e py35-django18
py35-django19:
image: "python:3.5"
cache:
key: py35-django19
paths:
- .tox/py35-django19
script:
- tox -e py35-django19
py35-django110:
image: "python:3.5"
cache:
key: py35-django110
paths:
- .tox/py35-django110
script:
- tox -e py35-django110
coverage:
image: "python:2.7"
cache:
key: coverage
paths:
- .tox/coverage
script:
- tox -e coverage
...@@ -12,6 +12,7 @@ Unreleased ...@@ -12,6 +12,7 @@ Unreleased
Added Added
----- -----
* Add Django 1.10 support * Add Django 1.10 support
* Add support of gitlab continuous integration
Fixed Fixed
----- -----
......
...@@ -135,7 +135,7 @@ deps= ...@@ -135,7 +135,7 @@ deps=
codacy-coverage codacy-coverage
skip_install=True skip_install=True
commands= commands=
py.test --cov=cas_server --cov-report xml py.test --cov=cas_server --cov-report xml --cov-report term
python-codacy-coverage -r {toxinidir}/coverage.xml python-codacy-coverage -r {toxinidir}/coverage.xml
{[post_cmd]commands} {[post_cmd]commands}
whitelist_externals={[post_cmd]whitelist_externals} whitelist_externals={[post_cmd]whitelist_externals}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment