forked from jsocol/django-ratelimit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (37 loc) · 937 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
language: python
sudo: false
env:
- DJANGO_VERSION=1.8
- DJANGO_VERSION=1.9
- DJANGO_VERSION=1.10
- DJANGO_VERSION=1.11
- DJANGO_VERSION=2.0b1
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
- "pypy"
install:
- if [[ $TRAVIS_PYTHON_VERSION == 2* ]]; then pip install -q python-memcached>=1.57; fi
- if [[ $TRAVIS_PYTHON_VERSION == 3* ]]; then pip install -q python3-memcached>=1.51; fi
- if [[ $TRAVIS_PYTHON_VERSION == pypy ]]; then pip install -q python-memcached>=1.57; fi
- pip install -q "Django>=${DJANGO_VERSION},<${DJANGO_VERSION}.99" flake8
script:
- ./run.sh test
- ./run.sh flake8
matrix:
exclude:
- python: "3.3"
env: DJANGO_VERSION=1.9
- python: "3.3"
env: DJANGO_VERSION=1.10
- python: "3.3"
env: DJANGO_VERSION=1.11
- python: "3.3"
env: DJANGO_VERSION=2.0b1
- python: "2.7"
env: DJANGO_VERSION=2.0b1
- python: "pypy"
env: DJANGO_VERSION=2.0b1