Skip to content

chore(ci): test 3.9 and nightly python version #1207

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

Closed
wants to merge 1 commit into from
Closed
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
33 changes: 24 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
include:
- stage: lint
name: commitlint
python: 3.8
python: 3.9
script:
- pip3 install pre-commit
- pre-commit run --hook-stage manual commitlint-travis
Expand All @@ -24,44 +24,44 @@ jobs:
- stage: lint
name: black_lint
dist: bionic
python: 3.8
python: 3.9
script:
- pip3 install -U --pre black==20.8b1
- black --check .
- stage: test
name: cli_func_v4
dist: bionic
python: 3.8
python: 3.9
script:
- pip3 install tox
- tox -e cli_func_v4
- stage: test
name: py_func_v4
dist: bionic
python: 3.8
python: 3.9
script:
- pip3 install tox
- tox -e py_func_v4
- stage: test
name: cli_func_nightly
dist: bionic
python: 3.8
python: 3.9
env: GITLAB_TAG=nightly
script:
- pip3 install tox
- tox -e cli_func_v4
- stage: test
name: py_func_nightly
dist: bionic
python: 3.8
python: 3.9
env: GITLAB_TAG=nightly
script:
- pip3 install tox
- tox -e py_func_v4
- stage: test
name: docs
dist: bionic
python: 3.8
python: 3.9
script:
- pip3 install tox
- tox -e docs
Expand All @@ -86,18 +86,32 @@ jobs:
script:
- pip3 install tox
- tox -e py38
- stage: test
dist: bionic
name: py39
python: 3.9
script:
- pip3 install tox
- tox -e py38
- stage: test
dist: bionic
name: py-nightly
python: nightly
script:
- pip3 install tox
- tox -e py38
- stage: test
dist: bionic
name: twine-check
python: 3.8
python: 3.9
script:
- pip3 install tox wheel
- python3 setup.py sdist bdist_wheel
- tox -e twine-check
- stage: test
dist: bionic
name: coverage
python: 3.8
python: 3.9
install:
- pip3 install tox codecov
script:
Expand All @@ -106,3 +120,4 @@ jobs:
- codecov
allow_failures:
- env: GITLAB_TAG=nightly
- name: py-nightly
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
minversion = 1.6
skipsdist = True
envlist = py38,py37,py36,pep8,black,twine-check
envlist = py39,py38,py37,py36,pep8,black,twine-check

[testenv]
passenv = GITLAB_IMAGE GITLAB_TAG
Expand Down