File: tox.ini

package info (click to toggle)
python-croniter 0.3.29-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 180 kB
  • sloc: python: 1,460; makefile: 20
file content (22 lines) | stat: -rw-r--r-- 538 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[tox]
minversion = 2.3
envlist =
    {py26,py27,py34,py35}-std
    py27-coverage
skipsdist = true

[testenv]
usedevelop = true
deps =
    -r{toxinidir}/requirements/test.txt
whitelist_externals = /bin/sh
setenv =
    COVERAGE_FILE={envdir}/coverage_report
changedir = src
commands =
    {py26,py27,py34,py35,py36}-std: py.test -v .
    {py27,py34,py35,py36}-std: flake8 src/croniter/croniter.py
    py27-coverage: coverage erase
    py27-coverage: sh -c 'cd .. && coverage run $(which py.test) -v src'
    py27-coverage: coverage report