Skip to content

Commit

Permalink
Use xenial on travis-ci for Python37
Browse files Browse the repository at this point in the history
  • Loading branch information
NyanKiyoshi committed Jul 9, 2018
1 parent 047e7b9 commit 49e94b7
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
17 changes: 12 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
language: python
sudo: false
python:
- "3.4"
- "3.5"
- "3.6"
- "3.7-dev"
cache:
pip: true
directories:
Expand All @@ -28,6 +26,15 @@ env:
- DJANGO="2.1"
- DJANGO="master"
matrix:
include:
- python: "3.7"
sudo: required
dist: xenial
env: DJANGO="2.0"
- python: "3.7"
sudo: required
dist: xenial
env: DJANGO="master"
allow_failures:
- python: "3.5"
env: DJANGO="2.1"
Expand All @@ -37,15 +44,15 @@ matrix:
env: DJANGO="2.1"
- python: "3.6"
env: DJANGO="master"
- python: "3.7-dev"
- python: "3.7"
env: DJANGO="master"
sudo: required
dist: xenial
exclude:
- python: "3.4"
env: DJANGO="2.1"
- python: "3.4"
env: DJANGO="master"
- python: "3.7-dev"
env: DJANGO="1.11"
after_success:
- codecov
services:
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ pytest==3.4.0
python-dateutil==2.6.1 # via botocore, elasticsearch-dsl, faker, freezegun
python3-openid==3.1.0 # via social-auth-core
pytz==2018.3 # via babel, celery, django
pyyaml==4.1 # via vcrpy
pyyaml==4.2b4 # via vcrpy
raven==6.9.0
redis==2.10.6 # via celery, django-redis
requests-oauthlib==0.8.0 # via social-auth-core
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ python =
3.4: py34
3.5: py35
3.6: py36
3.7-dev: py37
3.7: py37
unignore_outcomes = True

[travis:env]
Expand Down

0 comments on commit 49e94b7

Please sign in to comment.