mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-18 03:58:32 +02:00
Travis CI: Drop Python 3 and add falke8 tests
This commit is contained in:
parent
5f9afedec8
commit
c69c5f6613
1 changed files with 7 additions and 2 deletions
|
@ -1,7 +1,6 @@
|
||||||
language: python
|
language: python
|
||||||
python:
|
python:
|
||||||
- "2.7"
|
- "2.7"
|
||||||
- "3.3"
|
|
||||||
- "3.4"
|
- "3.4"
|
||||||
- "3.5"
|
- "3.5"
|
||||||
- "3.6"
|
- "3.6"
|
||||||
|
@ -10,9 +9,15 @@ python:
|
||||||
- "nightly"
|
- "nightly"
|
||||||
install:
|
install:
|
||||||
- "pip install -e ."
|
- "pip install -e ."
|
||||||
|
- "pip install flake8"
|
||||||
- "pip install pycrypto>=2.6"
|
- "pip install pycrypto>=2.6"
|
||||||
- "pip install -q behave"
|
- "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:
|
script:
|
||||||
- python --version
|
- python --version
|
||||||
- behave
|
- behave
|
||||||
|
|
Loading…
Add table
Reference in a new issue