Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e25e75b
commit 6034b81
Showing
1 changed file
with
4 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,20 @@ | ||
language: python | ||
matrix: | ||
include: | ||
- name: "generic tests" | ||
language: generic | ||
- name: "flake8 lint on Python 2.7" | ||
language: python | ||
python: 2.7 | ||
- name: "flake8 lint on Python 2.7" | ||
python: 2.7 | ||
install: pip install flake8 | ||
script: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics | ||
- name: "flake8 lint on Python 3.7" | ||
dist: xenial # required for Python >= 3.7 | ||
language: python | ||
python: 3.7 | ||
install: pip install flake8 | ||
script: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics | ||
install: | ||
- sudo apt-get install -y python-pip | ||
- sudo pip install pep8 | ||
- pip install pep8 | ||
script: | ||
- set -euo pipefail | ||
- ./scripts/py-style-check.sh | ||
- ./scripts/check-helpers.sh | ||
- ./scripts/py-style-check.sh |