2012-08-08 06:32:28 +02:00
|
|
|
language: python
|
2020-10-13 09:09:30 +02:00
|
|
|
dist: focal # use LTS 20.04
|
2015-12-16 10:48:18 +01:00
|
|
|
|
2012-08-08 06:32:28 +02:00
|
|
|
python:
|
2017-02-25 10:07:20 +01:00
|
|
|
- "3.6"
|
2018-07-03 07:05:16 +02:00
|
|
|
- "3.7"
|
2019-12-17 14:27:05 +01:00
|
|
|
- "3.8"
|
2015-12-16 10:48:18 +01:00
|
|
|
|
2012-08-08 06:32:28 +02:00
|
|
|
env:
|
2021-05-16 09:25:14 +02:00
|
|
|
- DJANGO=2.2.23
|
|
|
|
- DJANGO=3.1.11
|
|
|
|
- DJANGO=3.2.3
|
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
|