Travis CI: Drop Python 3 and add falke8 tests

This commit is contained in:
cclauss 2017-12-02 08:23:01 -05:00 committed by GitHub
parent 5f9afedec8
commit c69c5f6613
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,6 @@
language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
@ -10,9 +9,15 @@ python:
- "nightly"
install:
- "pip install -e ."
- "pip install flake8"
- "pip install pycrypto>=2.6"
- "pip install -q behave"
# command to run tests
# commands to run tests
before_script:
# stop the build if there are Python syntax errors or undefined names
- flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
- flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
script:
- python --version
- behave