From 6034b818a6f0d1d65292b9e6a146574ee55d83d4 Mon Sep 17 00:00:00 2001 From: cclauss Date: Thu, 4 Jul 2019 21:59:46 +0200 Subject: [PATCH] Try under language: python --- .travis.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index fc8ae74158bd..e2bbc42339ef 100644 --- a/.travis.yml +++ b/.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