Add sqf validator script to travis configuration

This commit is contained in:
Glowbal 2015-09-22 20:18:12 +02:00
parent b695a54655
commit 93e5429ed5
2 changed files with 3 additions and 2 deletions

View File

@ -9,6 +9,7 @@ before_script:
- pip install pygithub3
script:
- python3 tools/deploy.py
- python3 tools/sqf_validator.py
env:
global:
- secure: "KcJQbknBOdC5lA4nFGKPXVRVIGLDXDRzC8XkHuXJCE9pIR/wbxbkvx8fHKcC6SC9eHgzneC3+o4m4+CjIbVvIwDgslRbJ8Y59i90ncONmdoRx1HUYHwuYWVZm9HJFjCsIbrEqhSyyKS+PB3WZVOLbErtNHsgS8f43PTh5Ujg7Vg="

View File

@ -114,8 +114,8 @@ def main():
for filename in sqf_list:
bad_count = bad_count + check_sqf_syntax(filename)
print ("Bad Count {0}".format(bad_count))
return bad_count
if __name__ == "__main__":
main()
sys.exit(main())