File: tox.ini

package info (click to toggle)
apt-xapian-index 0.58
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 448 kB
  • sloc: python: 2,959; ruby: 475; sh: 137; makefile: 31
file content (16 lines) | stat: -rw-r--r-- 489 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[tox]
envlist = {nocov,cov}-{py34,py35}

[testenv]
sitepackages = True
indexserver =
    default = http://missing.example.com
usedevelop = True
setenv =
       AXI_PLUGIN_DIR={toxinidir}/plugins
       AXI_DB_PATH={toxinidir}/testdb
       AXI_CACHE_PATH={toxinidir}/testdb
       PYTHONPATH="$PYTHONPATH:{toxinidir}"
commands =
    nocov: python3 -m nose2 -w test
    cov: python3 -m nose2 -w test --with-coverage --cover-package axi --cover-html --cover-html-dir=test-coverage-{envname}