aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Triguba <eugenetriguba@gmail.com>2020-01-18 07:43:14 -0600
committerEugene Triguba <eugenetriguba@gmail.com>2020-01-18 07:43:14 -0600
commitfbb0bc401c54086944057e2fca181646e78ca63d (patch)
treec24176281430dcc261e6843b5dedb987715343b3
parentAdd travis CI + tox (diff)
downloadconfig-file-fbb0bc401c54086944057e2fca181646e78ca63d.zip
Remove other py version tests on ci, add lint + test stages
-rw-r--r--.travis.yml31
-rw-r--r--tox.ini2
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