kubeless/.travis.yml

19 lines
447 B
YAML
Raw Normal View History

2019-05-16 17:46:44 +02:00
language: python
2019-05-16 17:40:23 +02:00
dist: xenial
addons:
apt:
update: true
packages: shellcheck
2019-05-19 14:36:23 +02:00
install:
- pip install -U pip
- pip install -U flake8
- if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then pip install -U black; fi
2019-05-16 17:40:23 +02:00
2019-05-19 14:36:23 +02:00
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