2012-08-08 06:32:28 +02:00
|
|
|
language: python
|
2019-08-06 01:22:08 +02:00
|
|
|
dist: bionic # use LTS 18.04
|
2015-12-16 10:48:18 +01:00
|
|
|
|
2012-08-08 06:32:28 +02:00
|
|
|
python:
|
|
|
|
- "2.7"
|
2017-02-25 10:07:20 +01:00
|
|
|
- "3.6"
|
2019-08-06 01:22:08 +02:00
|
|
|
- "3.7"
|
2015-12-16 10:48:18 +01:00
|
|
|
|
2012-08-08 06:32:28 +02:00
|
|
|
env:
|
2019-08-06 01:22:08 +02:00
|
|
|
- DJANGO=1.11.23
|
2015-12-16 10:48:18 +01:00
|
|
|
|
2012-08-08 06:32:28 +02:00
|
|
|
install:
|
2014-06-05 01:49:57 +02:00
|
|
|
- pip install -q Django==$DJANGO
|
2014-06-05 01:54:03 +02:00
|
|
|
- pip install -q -r requirements.txt
|
2016-11-01 22:37:01 +01:00
|
|
|
- pip install -q -r requirements-testing.txt
|
2015-12-16 10:48:18 +01:00
|
|
|
|
2016-10-24 10:06:36 +02:00
|
|
|
before_script:
|
2018-05-10 07:42:09 +02:00
|
|
|
- "pycodestyle --exclude=migrations --ignore=E501,W503,W504 helpdesk"
|
2016-10-24 10:06:36 +02:00
|
|
|
|
2017-02-25 10:07:20 +01:00
|
|
|
script:
|
2016-10-20 13:08:34 +02:00
|
|
|
- coverage run --source='.' quicktest.py helpdesk
|
|
|
|
|
|
|
|
after_success:
|
2016-10-24 10:06:36 +02:00
|
|
|
- codecov
|