Skip to content

Commit

Permalink
Try under language: python
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored and yonghong-song committed Jul 17, 2019
1 parent e25e75b commit 6034b81
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .travis.yml
@@ -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

0 comments on commit 6034b81

Please sign in to comment.