diff --git a/.travis.yml b/.travis.yml index 89f85f3e4f815b464360fc152faec60da74b7082..bbd365afe01ae2e48e5f095b30cc79fc6a7d22db 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,7 @@ language: python stages: + - lint - test - name: publish if: tag =~ ^\d+\.\d+\.\d+$ @@ -10,6 +11,14 @@ install: jobs: include: + - python: 2.7 + stage: lint + script: tox -e flake8 + + - python: 3.4 + stage: lint + script: tox -e flake8 + - python: 2.7 stage: test script: tox -e py27 @@ -18,9 +27,6 @@ jobs: stage: test script: tox -e py34 - - python: 3.4 - script: tox -e flake8 - - stage: publish script: skip python: 2.7