mirror of
https://github.com/QingdaoU/Spirit.git
synced 2024-12-29 07:51:56 +00:00
bbe9969573
* update requirements * update compatibility * update travis * update history
28 lines
535 B
YAML
28 lines
535 B
YAML
language: python
|
|
|
|
# Use container-based infrastructure
|
|
sudo: false
|
|
|
|
python:
|
|
- "2.7"
|
|
- "3.4"
|
|
- "3.5"
|
|
- "3.6"
|
|
env:
|
|
- DJANGO=1.8.18
|
|
- DJANGO=1.9.13
|
|
- DJANGO=1.10.8
|
|
- DJANGO=1.11.5
|
|
install:
|
|
- pip install --upgrade pip
|
|
- pip install -r requirements.txt
|
|
- pip install -q Django==$DJANGO
|
|
- pip install coveralls pep8==1.5.7 flake8
|
|
script:
|
|
- flake8 --exit-zero
|
|
- python setup.py build
|
|
- python ./spirit/extra/bin/spirit.py startproject project
|
|
- coverage run --source=. runtests.py
|
|
after_success:
|
|
- coveralls
|