File: tox.ini

package info (click to toggle)
python-croniter 2.0.7-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 336 kB
  • sloc: python: 3,122; makefile: 20; sh: 14
file content (21 lines) | stat: -rw-r--r-- 625 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[tox]
minversion = 2.3
envlist =
    {py26,py27,py34,py35,py36,py37,py38,py39,py310,py311,py312}-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,py37,py38,py39,py310,py311}-std: py.test -v .
    {py27,py34,py35,py36,py37,py38,py39,py310,py311}-std: flake8 croniter/croniter.py
    py27-coverage: coverage erase
    py27-coverage: sh -c 'cd .. && coverage run $(which py.test) -v src'
    py27-coverage: coverage report