File: tox.ini

package info (click to toggle)
pyswarms 1.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 33,516 kB
  • sloc: python: 4,109; makefile: 240; sh: 32
file content (18 lines) | stat: -rw-r--r-- 484 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[tox]
envlist = py35, py36, py37, flake8

[testenv:flake8]
basepython=python
deps=-rrequirements-dev.txt
commands=python -m flake8 pyswarms

[testenv]
setenv =
    PYTHONPATH = {toxinidir}
deps=-rrequirements-dev.txt
commands = python -m pytest tests --junitxml=junit/test-results.xml

; If you want to make tox run the tests with the same versions, create a
; requirements.txt with the pinned versions and uncomment the following lines:
; deps =
;     -r{toxinidir}/requirements.txt