mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Add sqf validator script to travis configuration
This commit is contained in:
parent
b695a54655
commit
93e5429ed5
@ -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="
|
||||
|
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user