Configure Travis to test against the latest Django stable branch on git (#2967)

pull/2563/merge
Matt Westcott 2016-09-21 12:40:57 +01:00 zatwierdzone przez Karl Hobley
rodzic ffa21943d0
commit 71ce47bc5a
2 zmienionych plików z 7 dodań i 1 usunięć

Wyświetl plik

@ -68,6 +68,10 @@ matrix:
python: 3.5
- env: TOXENV=py35-dj110-postgres-elasticsearch2 INSTALL_ELASTICSEARCH2=yes
python: 3.5
- env: TOXENV=py35-dj110head-postgres-noelasticsearch
python: 3.5
- env: TOXENV=py35-dj110head-postgres-elasticsearch2 INSTALL_ELASTICSEARCH2=yes
python: 3.5
sudo: true
allow_failures:
- env: TOXENV=py27-dj18-sqlite-elasticsearch
@ -80,6 +84,7 @@ matrix:
- env: TOXENV=py34-dj19-sqlite-elasticsearch2 INSTALL_ELASTICSEARCH2=yes
- env: TOXENV=py27-dj110-mysql-elasticsearch2 INSTALL_ELASTICSEARCH2=yes
- env: TOXENV=py35-dj110-postgres-elasticsearch2 INSTALL_ELASTICSEARCH2=yes
- env: TOXENV=py35-dj110head-postgres-elasticsearch2 INSTALL_ELASTICSEARCH2=yes
# Services

Wyświetl plik

@ -3,7 +3,7 @@ skipsdist = True
usedevelop = True
envlist = py{27,33,34,35}-dj{18,19}-{sqlite,postgres,mysql}-{elasticsearch2,elasticsearch,noelasticsearch},
py{27,34,35}-dj110-{sqlite,postgres,mysql}-{elasticsearch2,elasticsearch,noelasticsearch},
py{27,34,35}-dj{110,110head}-{sqlite,postgres,mysql}-{elasticsearch2,elasticsearch,noelasticsearch},
flake8
[testenv]
@ -26,6 +26,7 @@ deps =
dj18: Django>=1.8.1,<1.9
dj19: Django>=1.9,<1.10
dj110: Django>=1.10a1,<1.11
dj110head: git+https://github.com/django/django.git@stable/1.10.x#egg=Django
postgres: psycopg2>=2.6
mysql: mysqlclient==1.3.6
elasticsearch2: elasticsearch>=2,<3