You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
947 B
47 lines
947 B
language: python
|
|
sudo: False
|
|
python:
|
|
- 2.7
|
|
- 3.3
|
|
- 3.4
|
|
- 3.5
|
|
- pypy
|
|
- nightly # 3.6
|
|
env:
|
|
matrix:
|
|
- DJANGO=""
|
|
- DJANGO="1.7"
|
|
- DJANGO="1.8"
|
|
- DJANGO="1.9"
|
|
|
|
install:
|
|
- pip install -r requirements.txt
|
|
- pip install -r requirements_dev.txt
|
|
- if [[ "${DJANGO}" ]]; then pip install "django==$DJANGO"; fi
|
|
|
|
#Django version Python versions
|
|
#1.8 2.7, 3.2 (until the end of 2016), 3.3, 3.4, 3.5
|
|
#1.9, 1.10 2.7, 3.4, 3.5
|
|
matrix:
|
|
exclude:
|
|
# Django 1.9+ no longer supports python 3.2/3.3
|
|
- python: 3.3
|
|
env: DJANGO="1.9"
|
|
|
|
# django 1.7 isn't supported on python > 3.4
|
|
- python: 3.5
|
|
env: DJANGO="1.7"
|
|
- python: nightly
|
|
env: DJANGO="1.7"
|
|
|
|
script: make travis
|
|
|
|
after_success:
|
|
- coveralls
|
|
|
|
#notifications:
|
|
# irc:
|
|
# channels: "chat.freenode.net#not-your-server.de"
|
|
# template:
|
|
# - "%{repository} - %{branch} - %{author}: %{commit_subject} - %{message} - Build details : %{build_url}"
|
|
# use_notice: true
|