forked from RealGeeks/django-admin-oauth2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
28 lines (28 loc) · 984 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
language: python
env:
- DJANGO=1.6
- DJANGO=1.7
- DJANGO=1.8
- DJANGO=1.9
- DJANGO=1.10
python:
- "2.7"
- "3.5"
- "pypy"
# command to install dependencies
install:
- pip install .
- pip install -r test-requirements.txt
- if [ $DJANGO = "1.6" ] ; then pip install https://github.com/django/django/archive/stable/1.6.x.zip#egg=django; fi
- if [ $DJANGO = "1.7" ] ; then pip install https://github.com/django/django/archive/stable/1.7.x.zip#egg=django; fi
- if [ $DJANGO = "1.8" ] ; then pip install https://github.com/django/django/archive/stable/1.8.x.zip#egg=django; fi
- if [ $DJANGO = "1.9" ] ; then pip install https://github.com/django/django/archive/stable/1.9.x.zip#egg=django; fi
- if [ $DJANGO = "1.10" ] ; then pip install https://github.com/django/django/archive/stable/1.10.x.zip#egg=django; fi
matrix:
exclude:
- env: DJANGO="1.6"
python: 3.5
- env: DJANGO="1.7"
python: 3.5
# command to run tests
script: ./runtests.sh