summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmer Katz <omer.drow@gmail.com>2018-08-16 08:23:27 -0500
committerGitHub <noreply@github.com>2018-08-16 08:23:27 -0500
commit3345fd6b962716905ed0b41290ce671b5d211fd9 (patch)
tree260f9f70c3fc37391fd819494b66129985ab3c2e
parent9dcc16d8aa1a8b9ea88ba1e61668927c6e8d062b (diff)
downloadpy-amqp-3345fd6b962716905ed0b41290ce671b5d211fd9.tar.gz
Added Python 3.7 to the build matrix. Enabled stages. (#203)
-rw-r--r--.travis.yml13
-rw-r--r--tox.ini2
2 files changed, 15 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 0b02849..c353945 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,6 +6,10 @@ env:
global:
PYTHONUNBUFFERED=yes
+stages:
+ - lint
+ - test
+
matrix:
fast_finish: true
include:
@@ -19,16 +23,25 @@ matrix:
env: TOXENV=3.5
- python: 3.6
env: TOXENV=3.6
+ - python: 3.7
+ env: TOXENV=3.7
+ sudo: true
+ dist: xenial
- python: 2.7
env: TOXENV=flake8
+ stage: lint
- python: 3.6
env: TOXENV=flake8
+ stage: lint
- python: 2.7
env: TOXENV=flakeplus
+ stage: lint
- python: 2.7
env: TOXENV=pydocstyle
+ stage: lint
- python: 2.7
env: TOXENV=apicheck
+ stage: lint
install:
- pip install -U pip setuptools wheel | cat
diff --git a/tox.ini b/tox.ini
index 1c99e9c..bde403f 100644
--- a/tox.ini
+++ b/tox.ini
@@ -5,6 +5,7 @@ envlist =
3.4
3.5
3.6
+ 3.7
flake8
flakeplus
apicheck
@@ -28,6 +29,7 @@ basepython =
3.4: python3.4
3.5: python3.5
3.6: python3.6
+ 3.7: python3.7
[testenv:apicheck]
commands =