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