summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--MANIFEST.in1
-rw-r--r--tox.ini13
3 files changed, 15 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 8c72c4f3f..3fd1addbc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -17,6 +17,7 @@ tmp
.cache
.pytest_cache/
*.bst/
+.tox
# Pycache, in case buildstream is ran directly from within the source
# tree
diff --git a/MANIFEST.in b/MANIFEST.in
index 96fce72b3..0344cf2ff 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -24,6 +24,7 @@ recursive-include doc/sessions *.run
# Tests
recursive-include tests *
include conftest.py
+include tox.ini
include .coveragerc
include .pylintrc
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