mirror of
https://github.com/aquasecurity/kube-hunter.git
synced 2026-05-16 22:26:51 +00:00
Add test runner to Travis
This commit is contained in:
@@ -20,8 +20,9 @@ before_script:
|
||||
- flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
|
||||
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
|
||||
- flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
|
||||
- pip install pytest
|
||||
script:
|
||||
- true # add other tests here
|
||||
- python runtest.py
|
||||
notifications:
|
||||
on_success: change
|
||||
on_failure: change # `always` will be the setting once code changes slow down
|
||||
|
||||
Reference in New Issue
Block a user