Add cccatalog-api code style check to the Travis build.
@@ -21,5 +21,6 @@ before_script:
- ./load_sample_data.sh
- bash -c 'while [[ "$(curl --insecure -s -o /dev/null -w ''%{http_code}'' https://localhost:8000/image/search?q=test)" != "200" ]]; do sleep 5; done'
script:
+ - pycodestyle cccatalog-api/cccatalog --exclude='cccatalog-api/cccatalog/api/migrations' --max-line-length=80 --ignore=E402
- cd cccatalog-api/test && ./run_test.sh
- cd ../../ingestion_server && python3 test/integration_tests.py
