Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PyOTRS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Coopdevs
Som Connexió
OTRS
PyOTRS
Commits
20249aad
Commit
20249aad
authored
8 years ago
by
Robert Habermann
Browse files
Options
Downloads
Patches
Plain Diff
should not require sudo for regular run
parent
ed9f7e35
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tox.ini
+17
-10
17 additions, 10 deletions
tox.ini
with
17 additions
and
10 deletions
tox.ini
+
17
−
10
View file @
20249aad
# --------------------------------------------------------------------
# TOX Setup
# --------------------------------------------------------------------
[tox]
envlist
=
cov_clean,
...
...
@@ -17,7 +21,6 @@ commands =
# --------------------------------------------------------------------
# Coverage
# --------------------------------------------------------------------
[testenv:cov_clean]
whitelist_externals
=
rm
...
...
@@ -46,19 +49,21 @@ commands =
mv
{toxinidir}/.coverage
{toxinidir}/.coverage.data/.coverage.{envname}
[testenv:cov_report]
commands
=
coverage
combine
.coverage.data
coverage
html
-d
{toxinidir}/htmlcov
[testenv:cov_deploy]
whitelist_externals
=
cp
sudo
commands
=
coverage
combine
.coverage.data
coverage
html
-d
{toxinidir}/htmlcov
sudo
cp
-a
{toxinidir}/htmlcov
/var/www/PyOTRS/
# --------------------------------------------------------------------
# Lint
# --------------------------------------------------------------------
[testenv:py3kwarn]
deps
=
py3kwarn
...
...
@@ -70,9 +75,6 @@ deps =
flake8
flake8-quotes
# NOTE(kgriffs): Run with py27 since some code branches assume the
# unicode type is defined, and pep8 complains in those cases when
# running under py3.
basepython
=
python2.7
...
...
@@ -87,7 +89,6 @@ commands =
# --------------------------------------------------------------------
# Documentation
# --------------------------------------------------------------------
[testenv:docs]
deps
=
jinja2
...
...
@@ -101,8 +102,6 @@ deps =
whitelist_externals
=
rm
pandoc
cp
sudo
basepython
=
python2.7
...
...
@@ -112,5 +111,13 @@ commands =
pandoc
-f
markdown
-t
rst
-o
{toxinidir}/docs/source/changelog_pandoc.txt
CHANGELOG.md
pandoc
-f
markdown
-t
rst
-o
{toxinidir}/docs/source/contributing_pandoc.txt
CONTRIBUTING.md
sphinx-build
-b
html
{toxinidir}/docs/source
{toxinidir}/docs/build
[testenv:docs_deploy]
whitelist_externals
=
rm
cp
sudo
commands
=
sudo
rm
-rf
/var/www/PyOTRS/docs
sudo
cp
-a
{toxinidir}/docs/build
/var/www/PyOTRS/docs
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