2012-08-08 06:32:28 +02:00
|
|
|
language: python
|
2018-07-19 18:35:49 +02:00
|
|
|
dist: xenial # Python 3.7 requires xenial because of dependencies
|
2015-12-16 10:48:18 +01:00
|
|
|
|
2012-08-08 06:32:28 +02:00
|
|
|
python:
|
2015-12-16 00:35:00 +01:00
|
|
|
- "3.5"
|
2017-02-25 10:07:20 +01:00
|
|
|
- "3.6"
|
2018-07-03 07:05:16 +02:00
|
|
|
- "3.7"
|
2015-12-16 10:48:18 +01:00
|
|
|
|
2012-08-08 06:32:28 +02:00
|
|
|
env:
|
2018-09-02 05:23:13 +02:00
|
|
|
- DJANGO=2.0.8
|
|
|
|
- DJANGO=2.1.1
|
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
|