aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Triguba <eugenetriguba@gmail.com>2020-01-18 07:35:29 -0600
committerEugene Triguba <eugenetriguba@gmail.com>2020-01-18 07:35:29 -0600
commit7254f3053dc9a4e11988629159d39b832c3c92de (patch)
treefb11dce47604b623a42419ae34d84aa66b0c929f
parentRemove badge (diff)
downloadconfig-file-7254f3053dc9a4e11988629159d39b832c3c92de.zip
Add travis CI + tox
-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