source: tox.ini@ dae7d73

debian/bullseye
Last change on this file since dae7d73 was 2c86c99, checked in by Joachim Langenbach <joachim.langenbach@…>, 7 years ago

Adapted tox.ini and setup.py for the new webservice

  • Property mode set to 100644
File size: 984 bytes
RevLine 
[43fd35c]1[tox]
2envlist = clean,py36
3#skipsdist = True
4
5[testenv]
6setenv =
7 CPLUS_INCLUDE_PATH=/usr/include/gdal
8 C_INCLUDE_PATH=/usr/include/gdal
9deps = -rrequirements.txt
10 -rtest-requirements.txt
11 pytest
12 pytest-cov
13 pytest-pep8
14 coverage
15commands =
16 pytest --cov=src --cov-append --cov-report=term-missing --cov-report=html:tests/reports/coverage-html --pep8
17
18[testenv:clean]
19deps = coverage
20skip_install = true
21commands = coverage erase
22
23[pytest]
24xfail_strict=true
25norecursedirs=src/mapservice-webclient/*
26 build/*
27pep8ignore =
[c04676b]28 src/gnuboat/common/spatial/tilegenerator.py E701
[2c86c99]29 src/gnuboat/common/bin/gdal2tiles-gnuboat.py ALL
30 src/gnuboat/mapservice_impl/tasks/tileconfig.py E701
[43fd35c]31 src/gnuboat/mapservice/controllers/*.py E501
32 src/gnuboat/mapservice/models/*.py E501
[c04676b]33 src/gnuboat/mapservice/test/*.py E501 W293
[2c86c99]34 src/gnuboat/deviceservice/controllers/*.py E501
35 src/gnuboat/deviceservice/models/*.py E501
36 src/gnuboat/deviceservice/test/*.py E501 W293
Note: See TracBrowser for help on using the repository browser.