Add 3.7 and 3.8 python tests

This commit is contained in:
David Dashyan 2021-06-07 20:45:35 +03:00
parent 1a136a7555
commit 230e421543
No known key found for this signature in database
GPG Key ID: 4F1E73D047F9F638
2 changed files with 33 additions and 5 deletions

View File

@ -1,11 +1,11 @@
# Copyright © 2020 Interplanetary Database Association e.V.,
# Copyright © 2020, 2021 Interplanetary Database Association e.V.,
# BigchainDB and IPDB software contributors.
# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0)
# Code is Apache-2.0 and docs are CC-BY-4.0
sudo: required
dist: trusty
dist: focal
services:
- docker
@ -15,6 +15,8 @@ cache: pip
python:
- 3.6
- 3.7
- 3.8
env:
global:
@ -38,6 +40,31 @@ matrix:
- python: 3.6
env:
- 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

View File

@ -1,10 +1,10 @@
[tox]
skipsdist = true
envlist = py{35,36}, flake8, docsroot
envlist = py{36,37,38}, flake8, docsroot
[base]
basepython = python3.6
deps = pip>=9.0.1
basepython = python3.8
deps = pip>=9.0.1
[testenv]
usedevelop = True
@ -29,6 +29,7 @@ basepython = {[base]basepython}
changedir = docs/root/source
deps =
{[base]deps}
typing-extensions
-r{toxinidir}/docs/root/requirements.txt
extras = None
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html