2012-08-08 06:32:28 +02:00
|
|
|
language: python
|
2015-12-16 10:48:18 +01:00
|
|
|
|
2012-08-08 06:32:28 +02:00
|
|
|
python:
|
|
|
|
- "2.7"
|
2016-11-01 14:58:45 +01:00
|
|
|
- 3.4.4
|
2015-12-16 00:35:00 +01:00
|
|
|
- "3.5"
|
2015-12-16 10:48:18 +01:00
|
|
|
|
2012-08-08 06:32:28 +02:00
|
|
|
env:
|
2016-10-22 00:57:14 +02:00
|
|
|
- DJANGO=1.8.15
|
|
|
|
- DJANGO=1.9.10
|
|
|
|
- DJANGO=1.10.2
|
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 argparse
|
2016-10-20 13:08:34 +02:00
|
|
|
- pip install coverage
|
|
|
|
- pip install codecov
|
2016-10-24 10:06:36 +02:00
|
|
|
- pip install pep8
|
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
|
2015-12-16 10:48:18 +01:00
|
|
|
|
2016-10-24 10:06:36 +02:00
|
|
|
before_script:
|
|
|
|
- "pep8 --exclude=migrations,south_migrations --ignore=E501 helpdesk"
|
|
|
|
|
2016-10-20 13:08:34 +02:00
|
|
|
script:
|
|
|
|
- coverage run --source='.' quicktest.py helpdesk
|
|
|
|
|
|
|
|
after_success:
|
2016-10-24 10:06:36 +02:00
|
|
|
- codecov
|