forked from gavinwahl/django-u2f
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (39 loc) · 1.13 KB
/
.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
38
39
40
41
42
43
language: python
# Run jobs on container-based infrastructure, can be overridden per job
sudo: false
# Travis whitelists the installable packages, additions can be requested
# https://github.com/travis-ci/apt-package-whitelist
addons:
apt:
packages:
- swig
# Save pip's downloads/packages/wheels between job runs
cache:
directories:
- $HOME/.cache/pip
python:
- 2.7
- 3.4
- 3.5
env:
- DJANGO_PACKAGE="Django>=1.8,<1.9" EXTRAS=[u2f]
- DJANGO_PACKAGE="Django>=1.9rc1,<1.10 EXTRAS=[u2f]
- DJANGO_PACKAGE="Django>=1.8,<1.9" EXTRAS=
- DJANGO_PACKAGE="Django>=1.9rc1,<1.10 EXTRAS=
matrix:
exclude:
- python: 3.4
env: DJANGO_PACKAGE="Django>=1.8,<1.9" EXTRAS=[u2f]
- python: 3.5
env: DJANGO_PACKAGE="Django>=1.8,<1.9" EXTRAS=[u2f]
- python: 3.4
env: DJANGO_PACKAGE="Django>=1.9rc1,<1.10 EXTRAS=[u2f]
- python: 3.5
env: DJANGO_PACKAGE="Django>=1.9rc1,<1.10 EXTRAS=[u2f]
install:
- pip install --upgrade pip wheel
- pip install -q $DJANGO_PACKAGE
- pip install --pre -e .$EXTRAS
- pip install -r ./testproj/requirements.txt
- pip freeze
script: ./testproj/manage.py test testproj