summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini34
1 files changed, 17 insertions, 17 deletions
diff --git a/tox.ini b/tox.ini
index 62737b0ca..85697085d 100644
--- a/tox.ini
+++ b/tox.ini
@@ -2,7 +2,7 @@
# Tox global configuration
#
[tox]
-envlist = py{35,36,37}
+envlist = py{35,36,37,38}
skip_missing_interpreters = true
isolated_build = true
@@ -14,22 +14,22 @@ isolated_build = true
[testenv]
usedevelop =
# This is required by Cython in order to get coverage for cython files.
- py{35,36,37}-!nocover: True
+ py{35,36,37,38}-!nocover: True
commands =
# Running with coverage reporting enabled
- py{35,36,37}-!external-!nocover: pytest --basetemp {envtmpdir} --cov=buildstream --cov-config .coveragerc {posargs}
- py{35,36,37}-!nocover: mkdir -p .coverage-reports
+ py{35,36,37,38}-!external-!nocover: pytest --basetemp {envtmpdir} --cov=buildstream --cov-config .coveragerc {posargs}
+ py{35,36,37,38}-!nocover: mkdir -p .coverage-reports
external-!nocover: {envpython} {toxinidir}/tests/external_plugins.py {envtmpdir} --cov=buildstream --cov-append {posargs}
- py{35,36,37}-!external-!nocover: mv {envtmpdir}/.coverage {toxinidir}/.coverage-reports/.coverage.{env:COVERAGE_PREFIX:}{envname}
- py{35,36,37}-external-!nocover: - mv {envtmpdir}/.coverage {toxinidir}/.coverage-reports/.coverage.{env:COVERAGE_PREFIX:}{envname}
+ py{35,36,37,38}-!external-!nocover: mv {envtmpdir}/.coverage {toxinidir}/.coverage-reports/.coverage.{env:COVERAGE_PREFIX:}{envname}
+ py{35,36,37,38}-external-!nocover: - mv {envtmpdir}/.coverage {toxinidir}/.coverage-reports/.coverage.{env:COVERAGE_PREFIX:}{envname}
# Running with coverage reporting disabled
- py{35,36,37}-!external-nocover: pytest --basetemp {envtmpdir} {posargs}
+ py{35,36,37,38}-!external-nocover: pytest --basetemp {envtmpdir} {posargs}
external-nocover: {envpython} {toxinidir}/tests/external_plugins.py {envtmpdir} {posargs}
deps =
- py{35,36,37}: -rrequirements/requirements.txt
- py{35,36,37}: -rrequirements/dev-requirements.txt
- py{35,36,37}: -rrequirements/plugin-requirements.txt
+ py{35,36,37,38}: -rrequirements/requirements.txt
+ py{35,36,37,38}: -rrequirements/dev-requirements.txt
+ py{35,36,37,38}: -rrequirements/plugin-requirements.txt
git+https://gitlab.com/BuildStream/bst-plugins-experimental.git@5b004e5850ab0e987c00c681b2c768f6ae02586b
# Only require coverage and pytest-cov when using it
@@ -58,17 +58,17 @@ passenv =
# These keys are not inherited by any other sections
#
setenv =
- py{35,36,37}: COVERAGE_FILE = {envtmpdir}/.coverage
- py{35,36,37}: BST_TEST_HOME = {envtmpdir}
- py{35,36,37}: BST_TEST_XDG_CACHE_HOME = {envtmpdir}/cache
- py{35,36,37}: BST_TEST_XDG_CONFIG_HOME = {envtmpdir}/config
- py{35,36,37}: BST_TEST_XDG_DATA_HOME = {envtmpdir}/share
+ py{35,36,37,38}: COVERAGE_FILE = {envtmpdir}/.coverage
+ py{35,36,37,38}: BST_TEST_HOME = {envtmpdir}
+ py{35,36,37,38}: BST_TEST_XDG_CACHE_HOME = {envtmpdir}/cache
+ py{35,36,37,38}: BST_TEST_XDG_CONFIG_HOME = {envtmpdir}/config
+ py{35,36,37,38}: BST_TEST_XDG_DATA_HOME = {envtmpdir}/share
# This is required to get coverage for Cython
- py{35,36,37}-!nocover: BST_CYTHON_TRACE = 1
+ py{35,36,37,38}-!nocover: BST_CYTHON_TRACE = 1
randomized: PYTEST_ADDOPTS="--random-order-bucket=global"
whitelist_externals =
- py{35,36,37}:
+ py{35,36,37,38}:
mv
mkdir