2016-08-27 08:56:00 +03:00
|
|
|
language: python
|
2017-11-06 01:06:52 +03:00
|
|
|
|
2016-08-27 08:56:00 +03:00
|
|
|
cache: pip
|
2017-11-06 01:06:52 +03:00
|
|
|
|
2016-08-27 08:56:00 +03:00
|
|
|
python:
|
|
|
|
- 2.7
|
|
|
|
- 3.5
|
2018-10-26 23:36:33 +03:00
|
|
|
- 3.6
|
2018-04-04 18:52:44 +03:00
|
|
|
|
2016-08-27 08:56:00 +03:00
|
|
|
install:
|
2018-05-01 23:27:30 +03:00
|
|
|
- travis_retry pip install --upgrade pip
|
2016-11-04 17:25:55 +03:00
|
|
|
- travis_retry pip install -r requirements.txt
|
2018-01-30 18:55:12 +03:00
|
|
|
- travis_retry pip install --no-deps -r req_nodeps.txt
|
2019-02-21 18:27:09 +03:00
|
|
|
- travis_retry pip install flake8==3.6.0
|
2018-02-07 19:55:10 +03:00
|
|
|
- pip list --format=columns --outdated
|
2017-11-06 01:06:52 +03:00
|
|
|
|
2016-08-27 08:56:00 +03:00
|
|
|
script:
|
2018-10-26 23:36:33 +03:00
|
|
|
- flake8 --select F,E,W --ignore W504 --statistics shipyard.py convoy/*.py
|
2019-08-12 22:50:15 +03:00
|
|
|
- if [[ $TRAVIS_PYTHON_VERSION > '3.4' ]]; then flake8 --select F,E,W --ignore W504 --statistics cascade/*.py cargo/*.py federation/*.py heimdall/*.py slurm/*.py; fi
|
2019-08-14 08:22:32 +03:00
|
|
|
- shellcheck ./*.sh cargo/*.sh cascade/*.sh images/*.sh scripts/*.sh
|