summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2020-04-02 08:01:24 +0200
committerJürg Billeter <j@bitron.ch>2020-04-02 08:06:23 +0200
commit2c09f55354ec6f96017e99ffdb94a5e4e99e5694 (patch)
tree739dec25083e12bb1fcc9c90448020c078ba2384
parent3ed61eed3b83e909dd0514e64ade6028b52f176c (diff)
downloadbuildstream-2c09f55354ec6f96017e99ffdb94a5e4e99e5694.tar.gz
tox.ini: Drop Python 3.5 environments
-rw-r--r--tox.ini36
1 files changed, 18 insertions, 18 deletions
diff --git a/tox.ini b/tox.ini
index fab130566..61f283635 100644
--- a/tox.ini
+++ b/tox.ini
@@ -2,7 +2,7 @@
# Tox global configuration
#
[tox]
-envlist = py{35,36,37,38}
+envlist = py{36,37,38}
skip_missing_interpreters = true
isolated_build = true
@@ -18,26 +18,26 @@ BST_PLUGINS_EXPERIMENTAL_VERSION = 1.93.1.1
[testenv]
usedevelop =
# This is required by Cython in order to get coverage for cython files.
- py{35,36,37,38}-!nocover: True
+ py{36,37,38}-!nocover: True
commands =
# Running with coverage reporting enabled
- py{35,36,37,38}-!plugins-!nocover: pytest --basetemp {envtmpdir} --cov=buildstream --cov-config .coveragerc {posargs}
+ py{36,37,38}-!plugins-!nocover: pytest --basetemp {envtmpdir} --cov=buildstream --cov-config .coveragerc {posargs}
# Running with coverage reporting disabled
- py{35,36,37,38}-!plugins-nocover: pytest --basetemp {envtmpdir} {posargs}
+ py{36,37,38}-!plugins-nocover: pytest --basetemp {envtmpdir} {posargs}
# Running external plugins tests with coverage reporting enabled
- py{35,36,37,38}-plugins-!nocover: pytest --basetemp {envtmpdir} --cov=buildstream --cov-config .coveragerc --plugins {posargs}
+ py{36,37,38}-plugins-!nocover: pytest --basetemp {envtmpdir} --cov=buildstream --cov-config .coveragerc --plugins {posargs}
# Running external plugins tests with coverage disabled
- py{35,36,37,38}-plugins-nocover: pytest --basetemp {envtmpdir} --plugins {posargs}
+ py{36,37,38}-plugins-nocover: pytest --basetemp {envtmpdir} --plugins {posargs}
commands_post:
- py{35,36,37,38}-!nocover: mkdir -p .coverage-reports
- py{35,36,37,38}-!nocover: mv {envtmpdir}/.coverage {toxinidir}/.coverage-reports/.coverage.{env:COVERAGE_PREFIX:}{envname}
+ py{36,37,38}-!nocover: mkdir -p .coverage-reports
+ py{36,37,38}-!nocover: mv {envtmpdir}/.coverage {toxinidir}/.coverage-reports/.coverage.{env:COVERAGE_PREFIX:}{envname}
deps =
- py{35,36,37,38}: -rrequirements/requirements.txt
- py{35,36,37,38}: -rrequirements/dev-requirements.txt
+ py{36,37,38}: -rrequirements/requirements.txt
+ py{36,37,38}: -rrequirements/dev-requirements.txt
# Install external plugins for plugin tests
- py{35,36,37,38}-plugins: git+https://gitlab.com/buildstream/bst-plugins-experimental.git@{env:BST_PLUGINS_EXPERIMENTAL_VERSION:{[config]BST_PLUGINS_EXPERIMENTAL_VERSION}}#egg=bst_plugins_experimental[ostree,deb]
+ py{36,37,38}-plugins: git+https://gitlab.com/buildstream/bst-plugins-experimental.git@{env:BST_PLUGINS_EXPERIMENTAL_VERSION:{[config]BST_PLUGINS_EXPERIMENTAL_VERSION}}#egg=bst_plugins_experimental[ostree,deb]
# Only require coverage and pytest-cov when using it
!nocover: -rrequirements/cov-requirements.txt
@@ -66,17 +66,17 @@ passenv =
# These keys are not inherited by any other sections
#
setenv =
- 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
+ py{36,37,38}: COVERAGE_FILE = {envtmpdir}/.coverage
+ py{36,37,38}: BST_TEST_HOME = {envtmpdir}
+ py{36,37,38}: BST_TEST_XDG_CACHE_HOME = {envtmpdir}/cache
+ py{36,37,38}: BST_TEST_XDG_CONFIG_HOME = {envtmpdir}/config
+ py{36,37,38}: BST_TEST_XDG_DATA_HOME = {envtmpdir}/share
# This is required to get coverage for Cython
- py{35,36,37,38}-!nocover: BST_CYTHON_TRACE = 1
+ py{36,37,38}-!nocover: BST_CYTHON_TRACE = 1
randomized: PYTEST_ADDOPTS="--random-order-bucket=global"
whitelist_externals =
- py{35,36,37,38}:
+ py{36,37,38}:
mv
mkdir