File: tox.ini

package info (click to toggle)
mapproxy 1.13.0-1~bpo10%2B1
  • links: PTS, VCS
  • area: main
  • in suites: buster-backports
  • size: 6,332 kB
  • sloc: python: 39,206; xml: 6,328; javascript: 866; makefile: 162
file content (24 lines) | stat: -rw-r--r-- 610 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[tox]
envlist = py27,py34,py36,docs

[testenv]
commands =
    pytest mapproxy
deps = -rrequirements-tests.txt

[testenv:hash]
setenv =
    PYTHONHASHSEED = 100

[testenv:docs]
changedir = doc
basepython = python2.7
sitepackages = True
deps =
    sphinx==1.2.2
    sphinx-bootstrap-theme==0.4.7
commands =
    sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
    sphinx-build -b latex -d {envtmpdir}/doctrees . {envtmpdir}/latex
    make -C {envtmpdir}/latex all-pdf
    rsync -a --delete-after {envtmpdir}/html/ {envtmpdir}/latex/MapProxy.pdf os@mapproxy.org:/opt/www/mapproxy.org/docs/nightly/