Updated travis.yml to skip import check on ScoutSuite submodule

This commit is contained in:
VakarisZ 2020-10-06 13:15:31 +03:00
parent b88cb8bf3c
commit 179823c29e
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ script:
- if [ $(tail -n 1 flake8_warnings.txt) -gt $PYTHON_WARNINGS_AMOUNT_UPPER_LIMIT ]; then echo "Too many python linter warnings! Failing this build. Lower the amount of linter errors in this and try again. " && exit 1; fi - if [ $(tail -n 1 flake8_warnings.txt) -gt $PYTHON_WARNINGS_AMOUNT_UPPER_LIMIT ]; then echo "Too many python linter warnings! Failing this build. Lower the amount of linter errors in this and try again. " && exit 1; fi
## Check import order ## Check import order
- python -m isort . -c -p common -p infection_monkey -p monkey_island - python -m isort . -c -p common -p infection_monkey -p monkey_island --skip common/cloud/scoutsuite
## Run unit tests ## Run unit tests
- cd monkey # This is our source dir - cd monkey # This is our source dir