aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.travis.yml25
-rw-r--r--tox.ini9
2 files changed, 34 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..8c6609b
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,25 @@
+language: python
+matrix:
+ include:
+ - python: 3.3
+ env:
+ TOXENV: py33
+ - python: 3.4
+ env:
+ TOXENV: py34
+ - python: 3.5
+ env:
+ TOXENV: py35
+ - python: 3.6
+ env:
+ TOXENV: py36
+ - python: 3.7
+ env:
+ TOXENV: py37
+ - python: 3.8
+ env:
+ TOXENV: py38
+
+install: pip install --upgrade pip tox
+
+script: tox \ No newline at end of file
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000..abf7fb4
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,9 @@
+[tox]
+isolated_build = true
+envlist = py33, py34, py35, py36, py37, py38
+
+[testenv]
+whitelist_externals = poetry
+commands =
+ poetry install -v
+ poetry run pytest --cov=config_file/ tests/ \ No newline at end of file