From 7254f3053dc9a4e11988629159d39b832c3c92de Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Sat, 18 Jan 2020 07:35:29 -0600 Subject: Add travis CI + tox --- .travis.yml | 25 +++++++++++++++++++++++++ tox.ini | 9 +++++++++ 2 files changed, 34 insertions(+) create mode 100644 .travis.yml create mode 100644 tox.ini 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 -- cgit v1.2.3