mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Add 3.7 and 3.8 python tests
This commit is contained in:
parent
1a136a7555
commit
230e421543
31
.travis.yml
31
.travis.yml
@ -1,11 +1,11 @@
|
|||||||
# Copyright © 2020 Interplanetary Database Association e.V.,
|
# Copyright © 2020, 2021 Interplanetary Database Association e.V.,
|
||||||
# BigchainDB and IPDB software contributors.
|
# BigchainDB and IPDB software contributors.
|
||||||
# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0)
|
# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0)
|
||||||
# Code is Apache-2.0 and docs are CC-BY-4.0
|
# Code is Apache-2.0 and docs are CC-BY-4.0
|
||||||
|
|
||||||
sudo: required
|
sudo: required
|
||||||
|
|
||||||
dist: trusty
|
dist: focal
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- docker
|
- docker
|
||||||
@ -15,6 +15,8 @@ cache: pip
|
|||||||
|
|
||||||
python:
|
python:
|
||||||
- 3.6
|
- 3.6
|
||||||
|
- 3.7
|
||||||
|
- 3.8
|
||||||
|
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
@ -38,6 +40,31 @@ matrix:
|
|||||||
- python: 3.6
|
- python: 3.6
|
||||||
env:
|
env:
|
||||||
- BIGCHAINDB_ACCEPTANCE_TEST=enable
|
- BIGCHAINDB_ACCEPTANCE_TEST=enable
|
||||||
|
- python: 3.7
|
||||||
|
env:
|
||||||
|
- BIGCHAINDB_DATABASE_BACKEND=localmongodb
|
||||||
|
- BIGCHAINDB_DATABASE_SSL=
|
||||||
|
- python: 3.7
|
||||||
|
env:
|
||||||
|
- BIGCHAINDB_DATABASE_BACKEND=localmongodb
|
||||||
|
- BIGCHAINDB_DATABASE_SSL=
|
||||||
|
- BIGCHAINDB_CI_ABCI=enable
|
||||||
|
- python: 3.7
|
||||||
|
env:
|
||||||
|
- BIGCHAINDB_ACCEPTANCE_TEST=enable
|
||||||
|
- python: 3.8
|
||||||
|
env:
|
||||||
|
- BIGCHAINDB_DATABASE_BACKEND=localmongodb
|
||||||
|
- BIGCHAINDB_DATABASE_SSL=
|
||||||
|
- python: 3.8
|
||||||
|
env:
|
||||||
|
- BIGCHAINDB_DATABASE_BACKEND=localmongodb
|
||||||
|
- BIGCHAINDB_DATABASE_SSL=
|
||||||
|
- BIGCHAINDB_CI_ABCI=enable
|
||||||
|
- python: 3.8
|
||||||
|
env:
|
||||||
|
- BIGCHAINDB_ACCEPTANCE_TEST=enable
|
||||||
|
|
||||||
|
|
||||||
before_install: sudo .ci/travis-before-install.sh
|
before_install: sudo .ci/travis-before-install.sh
|
||||||
|
|
||||||
|
|||||||
5
tox.ini
5
tox.ini
@ -1,9 +1,9 @@
|
|||||||
[tox]
|
[tox]
|
||||||
skipsdist = true
|
skipsdist = true
|
||||||
envlist = py{35,36}, flake8, docsroot
|
envlist = py{36,37,38}, flake8, docsroot
|
||||||
|
|
||||||
[base]
|
[base]
|
||||||
basepython = python3.6
|
basepython = python3.8
|
||||||
deps = pip>=9.0.1
|
deps = pip>=9.0.1
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
@ -29,6 +29,7 @@ basepython = {[base]basepython}
|
|||||||
changedir = docs/root/source
|
changedir = docs/root/source
|
||||||
deps =
|
deps =
|
||||||
{[base]deps}
|
{[base]deps}
|
||||||
|
typing-extensions
|
||||||
-r{toxinidir}/docs/root/requirements.txt
|
-r{toxinidir}/docs/root/requirements.txt
|
||||||
extras = None
|
extras = None
|
||||||
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
|
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user