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 --- tox.ini | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tox.ini (limited to 'tox.ini') 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 From fbb0bc401c54086944057e2fca181646e78ca63d Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Sat, 18 Jan 2020 07:43:14 -0600 Subject: Remove other py version tests on ci, add lint + test stages --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index abf7fb4..d86b26b 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] isolated_build = true -envlist = py33, py34, py35, py36, py37, py38 +envlist = py38 [testenv] whitelist_externals = poetry -- cgit v1.2.3 From 149eb0e4d90aad1a252aff58cefc356f018e33a3 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Sun, 19 Jan 2020 13:49:16 -0600 Subject: Test configuration for using codecov --- tox.ini | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index d86b26b..d94f733 100644 --- a/tox.ini +++ b/tox.ini @@ -3,7 +3,10 @@ isolated_build = true envlist = py38 [testenv] +passenv = CI TRAVIS TRAVIS_* +deps = codecov whitelist_externals = poetry commands = poetry install -v - poetry run pytest --cov=config_file/ tests/ \ No newline at end of file + poetry run pytest --cov=config_file/ tests/ + codecov \ No newline at end of file -- cgit v1.2.3