diff options
author | Seth M Morton <seth.m.morton@gmail.com> | 2018-09-09 19:38:21 -0700 |
---|---|---|
committer | Seth M Morton <seth.m.morton@gmail.com> | 2018-09-09 20:00:33 -0700 |
commit | 1bdc4505b5d80d5a5c5136b9f08ae306ce5edf49 (patch) | |
tree | 985ba9d1cf047bb0de1c2d3b0ee9bf9dc89ac2b1 | |
parent | 835e2523264ccb5e964043e1b1a8bc98240b3787 (diff) | |
download | natsort-1bdc4505b5d80d5a5c5136b9f08ae306ce5edf49.tar.gz |
Modify Travis-CI with a special formatting stage.
-rw-r--r-- | .travis.yml | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index d7b0d5d..5d113de 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,6 @@ language: python -matrix: + +jobs: include: - python: "2.7" dist: trusty @@ -41,6 +42,12 @@ matrix: dist: xenial sudo: true env: WITH_EXTRAS="" + - stage: code-quality + python: "3.6" + dist: trusty + sudo: false + install: pip install flake8 flake8-import-order flake8-bugbear pep8-naming + script: flake8 install: - pip install -U pip @@ -49,6 +56,10 @@ install: script: - tox +stages: +- code-quality +- test + after_success: - coverage xml - python-codacy-coverage -r coverage.xml |