summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorChandan Singh <csingh43@bloomberg.net>2018-12-28 23:40:05 +0000
committerChandan Singh <csingh43@bloomberg.net>2019-01-02 19:41:21 +0000
commit6b0cb5f3566bd9f73baa90f809ac22b699285bbf (patch)
tree9c6bfb3e4c92c5367feb42741df9416fc60bd41c /tox.ini
parent1cbd9a7381c32467b500b316cdac3c647a59e0dc (diff)
downloadbuildstream-6b0cb5f3566bd9f73baa90f809ac22b699285bbf.tar.gz
Add tox.ini to enable running tests using tox
Add `tox.ini` file that will enable us to use [tox](https://tox.readthedocs.io/) as a frontend for running tests. Since we share the config via `setup.cfg` and requirements via requirements files, commands like `python3 setup.py test` will continue to work.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini13
1 files changed, 13 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 000000000..f2c635057
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,13 @@
+[tox]
+envlist = py35,py36,py37
+skip_missing_interpreters = true
+
+[testenv]
+commands = pytest {posargs}
+deps =
+ -rrequirements.txt
+ -rdev-requirements.txt
+ -rplugin-requirements.txt
+passenv =
+ GI_TYPELIB_PATH
+ INTEGRATION_CACHE