Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
buildstream
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
6
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
BuildStream
buildstream
Commits
d603f527
Commit
d603f527
authored
6 years ago
by
Tristan Van Berkom
Browse files
Options
Downloads
Patches
Plain Diff
tox.ini: Doing...
parent
83b6b9ad
No related branches found
No related tags found
No related merge requests found
Pipeline
#42638127
failed
6 years ago
Stage: test
Stage: post
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tox.ini
+34
-11
34 additions, 11 deletions
tox.ini
with
34 additions
and
11 deletions
tox.ini
+
34
−
11
View file @
d603f527
#
# Tox global configuration
#
[tox]
envlist
=
py35,py36,py37
skip_missing_interpreters
=
true
[testenv:py{35,36,37}]
changedir
=
{envdir}
#
# Defaults for all environments
#
# Anything specified here is iherited by the sections
#
[testenv]
commands
=
pytest
--basetemp
{envtmpdir}
{posargs}
{toxinidir}
mkdir
-p
{toxinidir}/.coverage-reports
cp
$COVERAGE_FILE
{toxinidir}/.coverage-reports
cp
.coverage.{env:COVERAGE_PREFIX:}{envname}
{toxinidir}/.coverage-reports
deps
=
-rrequirements/requirements.txt
-rrequirements/dev-requirements.txt
...
...
@@ -16,26 +23,42 @@ passenv =
BST_FORCE_BACKEND
GI_TYPELIB_PATH
INTEGRATION_CACHE
changedir
=
py{35,36,37}:
{envdir}
setenv
=
COVERAGE_FILE
=
.coverage.{env:COVERAGE_PREFIX:}{envname}
py{35,36,37}:
COVERAGE_FILE
=
.coverage.{env:COVERAGE_PREFIX:}{envname}
whitelist_externals
=
py{35,36,37}:
cp
[testenv:lint]
#
# Coverage reporting
#
[testenv:coverage]
commands
=
pycodestyle
pylint
buildstrea
m
coverage
combine
--rcfile
=
{toxinidir}/.coveragerc --append {toxinidir}/.coverage-reports/
coverage
report
--rcfile
=
{toxinidir}/.coveragerc -
m
deps
=
-rrequirements/requirements.txt
-rrequirements/dev-requirements.txt
-rrequirements/plugin-requirements.txt
setenv
=
COVERAGE_FILE
=
{toxinidir}/.coverage-reports/.coverage
[testenv:coverage]
#
# Running linters
#
[testenv:lint]
commands
=
coverage
combine
--rcfile
=
{toxinidir}/.coveragerc -a {toxinidir}/.coverage-reports/coverage.*
coverage
report
--rcfile
=
{toxinidir}/.coveragerc -
m
pycodestyle
pylint
buildstrea
m
deps
=
-rrequirements/requirements.txt
-rrequirements/dev-requirements.txt
-rrequirements/plugin-requirements.txt
#
# Building documentation
#
[testenv:docs]
commands
=
make
-C
doc
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment