From 8d19ef99c74dd21894db26cbf11afa17a1ea5ee5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Sun, 19 May 2019 14:36:23 +0200 Subject: [PATCH] Update .travis.yml --- .travis.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index ea2a45e..9a36253 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,5 +5,14 @@ addons: apt: update: true packages: shellcheck + +install: + - pip install -U pip + - pip install -U flake8 + - if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then pip install -U black; fi -script: "for file in $(find . -type f -name \"*.sh\"); do shellcheck --format=gcc $file; done;" +script: + - for file in $(find . -type f -name \"*.sh\"); do shellcheck --format=gcc $file; done; + - cd benchmark/data + - flake8 --statistics --count + - if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then black --check --diff .; fi