2014-05-09 21:34:48 +00:00
|
|
|
language: python
|
|
|
|
|
2015-09-06 15:23:44 +00:00
|
|
|
# Use container-based infrastructure
|
|
|
|
sudo: false
|
|
|
|
|
2014-05-09 21:34:48 +00:00
|
|
|
python:
|
|
|
|
- "2.7"
|
2014-11-08 20:24:39 +00:00
|
|
|
- "3.4"
|
2015-11-13 13:33:31 +00:00
|
|
|
- "3.5"
|
2017-09-25 06:28:35 +00:00
|
|
|
- "3.6"
|
2016-11-14 03:48:35 +00:00
|
|
|
env:
|
2017-09-25 06:28:35 +00:00
|
|
|
- DJANGO=1.8.18
|
|
|
|
- DJANGO=1.9.13
|
|
|
|
- DJANGO=1.10.8
|
2018-01-30 13:11:23 +00:00
|
|
|
- DJANGO=1.11.9
|
2014-05-09 21:34:48 +00:00
|
|
|
install:
|
2015-11-13 13:56:09 +00:00
|
|
|
- pip install --upgrade pip
|
2018-01-30 13:11:23 +00:00
|
|
|
- pip install .[files]
|
|
|
|
- pip uninstall django-spirit -y
|
2016-11-14 03:48:35 +00:00
|
|
|
- pip install -q Django==$DJANGO
|
2015-03-27 02:29:48 +00:00
|
|
|
- pip install coveralls pep8==1.5.7 flake8
|
2014-05-09 21:34:48 +00:00
|
|
|
script:
|
2014-12-14 21:09:07 +00:00
|
|
|
- flake8 --exit-zero
|
2017-09-24 15:38:54 +00:00
|
|
|
- python setup.py build
|
|
|
|
- python ./spirit/extra/bin/spirit.py startproject project
|
2014-11-25 13:13:17 +00:00
|
|
|
- coverage run --source=. runtests.py
|
2014-05-09 22:59:46 +00:00
|
|
|
after_success:
|
2014-11-08 20:24:39 +00:00
|
|
|
- coveralls
|