Add .travis.yml

For running the newly added syntax_checker + PEP8 test
for the Python files in this project.

Also added small print to syntax_checker to indicate tests passed
successfully (yes, lack of error is also indication but this is
more user friendly imho).
This commit is contained in:
abregman committed 2019-12-21 21:28:51 +02:00
1 parent b4c46326d8
commit 5eb968571e
2 files changed
+9

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
language: "python"
python:
- "3.8"
install:
- pip install flake8
script:
- flake8 .
- python tests/syntax_checker.py
+1
View File
@@ -110,3 +110,4 @@ def check_summary_tag(file_list):
if __name__ == '__main__':
check_details_tag(file_list)
check_summary_tag(file_list)
print("tests passed successfully")