From 990e6ee24e0a8e6f9a7e8b35277f0fed421be8cc Mon Sep 17 00:00:00 2001 From: htlcnn Date: Thu, 5 Nov 2020 23:01:23 +0700 Subject: [PATCH] add flake8 to travis-ci --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index 639de9a80e..4c23ae0648 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,6 +22,10 @@ install: # - sudo apt-get update -qq && sudo apt-get install -y dart # - export PATH=$PATH:/usr/lib/dart/bin:$HOME/.pub-cache/bin # - git clone https://github.com/KhronosGroup/glTF-Validator && pushd glTF-Validator && pub get && pub global activate --source path ./ && popd + - pip install flake8 + +before_script: + - flake8 . --max-line-length=120 --statistics script: - pwd