From 751c9587d42b4c603ef85e5e846a96b2e9dd7590 Mon Sep 17 00:00:00 2001 From: Ben Woosley Date: Sat, 21 Jul 2018 12:53:50 -0400 Subject: [PATCH] Use the Travis python language feature on the lint build Rather than installing python via apt. https://docs.travis-ci.com/user/languages/python/ --- .travis.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6eba9fddd..1e6fc0a51 100644 --- a/.travis.yml +++ b/.travis.yml @@ -84,12 +84,10 @@ jobs: env: sudo: false cache: false - addons: - apt: - packages: - - python3-pip + language: python + python: '3.6' install: - - travis_retry pip3 install flake8 --user + - travis_retry pip install flake8 before_script: - git fetch --unshallow script: