diff options
| author | Eugene Triguba <eugenetriguba@gmail.com> | 2020-01-18 07:43:14 -0600 |
|---|---|---|
| committer | Eugene Triguba <eugenetriguba@gmail.com> | 2020-01-18 07:43:14 -0600 |
| commit | fbb0bc401c54086944057e2fca181646e78ca63d (patch) | |
| tree | c24176281430dcc261e6843b5dedb987715343b3 | |
| parent | Add travis CI + tox (diff) | |
| download | config-file-fbb0bc401c54086944057e2fca181646e78ca63d.zip | |
Remove other py version tests on ci, add lint + test stages
| -rw-r--r-- | .travis.yml | 31 | ||||
| -rw-r--r-- | 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 @@ -1,6 +1,6 @@ [tox] isolated_build = true -envlist = py33, py34, py35, py36, py37, py38 +envlist = py38 [testenv] whitelist_externals = poetry |