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 --- .travis.yml | 31 +++++++++++++++---------------- tox.ini | 2 +- 2 files changed, 16 insertions(+), 17 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8c6609b..b96bf9d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,25 +1,24 @@ language: python + +stages: + - lint + - test + +jobs: + include: + - stage: lint + install: + - pip install pre-commit + - pre-commit install-hooks + script: + - pre-commit run --all-files + 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 +install: pip install --upgrade pip tox poetry script: tox \ No newline at end of file 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