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

Travis CI: Test Python 3.8 #7221

Merged
merged 4 commits into from
Nov 27, 2019
Merged
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
4 changes: 2 additions & 2 deletions .github/workflows/python-linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
- TOXENV: lint
steps:
- uses: actions/checkout@master
- name: Set up Python ${{ matrix.env.PYTHON_VERSION || 3.7 }}
- name: Set up Python ${{ matrix.env.PYTHON_VERSION || 3.8 }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.env.PYTHON_VERSION || 3.7 }}
python-version: ${{ matrix.env.PYTHON_VERSION || 3.8 }}
- name: set PY
run: echo "::set-env name=PY::$(python -VV | sha256sum | cut -d' ' -f1)"
- uses: actions/cache@v1
Expand Down
14 changes: 5 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: python
cache: pip
dist: xenial
python: 3.7
python: 3.8
addons:
apt:
packages:
Expand Down Expand Up @@ -38,6 +38,10 @@ jobs:
- env: GROUP=2
python: pypy2.7-7.1.1
# Other Supported CPython
- env: GROUP=1
python: 3.7
- env: GROUP=2
python: 3.7
- env: GROUP=1
python: 3.6
- env: GROUP=2
Expand All @@ -47,15 +51,7 @@ jobs:
- env: GROUP=2
python: 3.5

- env: GROUP=1
python: 3.8-dev
- env: GROUP=2
python: 3.8-dev

fast_finish: true
# It's okay to fail on the in-development CPython version.
allow_failures:
- python: 3.8-dev

before_install: tools/travis/setup.sh
install: travis_retry tools/travis/install.sh
Expand Down
5 changes: 4 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ commands = pytest --timeout 300 --cov=pip --cov-report=term-missing --cov-report
[testenv:docs]
# Don't skip install here since pip_sphinxext uses pip's internals.
deps = -r{toxinidir}/tools/requirements/docs.txt
basepython = python3.7
basepython = python3.8
commands =
sphinx-build -W -d {envtmpdir}/doctrees/html -b html docs/html docs/build/html
# Having the conf.py in the docs/html is weird but needed because we
Expand All @@ -53,6 +53,9 @@ commands_pre =
deps =
invoke
requests
# Required, otherwise we interpret --no-binary :all: as
# "do not build wheels", which fails for PEP 517 requirements
pip>=19.3.1
whitelist_externals = git
commands =
# Check that the vendoring is up-to-date
Expand Down