Update .travis.yml

This commit is contained in:
Torma Kristóf 2019-05-19 14:36:23 +02:00 committed by GitHub
parent bdc7c4a070
commit 8d19ef99c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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