Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update .travis.yml to include testing with Django 2.2 on Python 3.8 #82

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 12 additions & 25 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Config file for automatic testing at travis-ci.org

language: python
python: 3.6
python: 3.8

dist: trusty
dist: focal

branches:
only:
Expand All @@ -12,32 +12,19 @@ branches:
services:
- postgresql

# by default travis uses postgres 9.2, and django 2.1 dropped support for it
# this enables 9.4
addons:
postgresql: "9.4"

matrix:
include:
- env: TOX_ENV=py35-django110-es60 ES_APT_URL=https://artifacts.elastic.co/packages/6.x/apt
python: 3.5
- env: TOX_ENV=py35-django111-es60 ES_APT_URL=https://artifacts.elastic.co/packages/6.x/apt
python: 3.5
- env: TOX_ENV=py35-django20-es60 ES_APT_URL=https://artifacts.elastic.co/packages/6.x/apt
python: 3.5
- env: TOX_ENV=py35-django21-es60 ES_APT_URL=https://artifacts.elastic.co/packages/6.x/apt
python: 3.5
- env: TOX_ENV=py36-django110-es61 ES_APT_URL=https://artifacts.elastic.co/packages/6.x/apt
python: 3.6
- env: TOX_ENV=py36-django111-es61 ES_APT_URL=https://artifacts.elastic.co/packages/6.x/apt
python: 3.6
- env: TOX_ENV=py36-django20-es61 ES_APT_URL=https://artifacts.elastic.co/packages/6.x/apt
python: 3.6
- env: TOX_ENV=py36-django21-es61 ES_APT_URL=https://artifacts.elastic.co/packages/6.x/apt
python: 3.6
- env: TOX_ENV=py38-django22-es61 ES_APT_URL=https://artifacts.elastic.co/packages/6.x/apt
python: 3.8
- env: TOX_ENV=py38-django30-es61 ES_APT_URL=https://artifacts.elastic.co/packages/6.x/apt
python: 3.8
- env: TOX_ENV=py38-django31-es61 ES_APT_URL=https://artifacts.elastic.co/packages/6.x/apt
python: 3.8



before_install:
- pip install pip==9.0.1
- pip install pip==21.0.1
# work around https://github.com/travis-ci/travis-ci/issues/8363
- wget -qO - https://packages.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
- echo "deb $ES_APT_URL stable main" | sudo tee -a /etc/apt/sources.list.d/elk.list
Expand All @@ -58,4 +45,4 @@ before_script:
script: tox -e $TOX_ENV

after_success:
- codecov -e $TOX_ENV
- codecov -e $TOX_ENV
2 changes: 1 addition & 1 deletion requirements/travis.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ coverage==4.5.2 # via codecov
filelock==3.0.10 # via tox
idna==2.7 # via requests
pluggy==0.8.0 # via tox
psycopg2==2.7.6.1
psycopg2>=2.8.4
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@codekiln, per this comment we'll likely need to update the correct files and pip-compile again

py==1.7.0 # via tox
requests==2.20.1 # via codecov
six==1.11.0 # via tox
Expand Down