
15 Sep
2017
15 Sep
'17
6:27 p.m.
commit ce15c3bd497e60949bf7f07fd8136f82c40e7735 Author: Edmund Wong <ewongbb@pw-wspx.org> Date: Fri Sep 15 14:27:22 2017 +0800 Ignore .travis.yml file in tests --- test/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/__init__.py b/test/__init__.py index 5a4c6e98..2b52beb2 100644 --- a/test/__init__.py +++ b/test/__init__.py @@ -73,6 +73,9 @@ with open(os.path.join(STEM_BASE, '.gitignore')) as ignore_file: if line.startswith('*.'): IGNORED_FILE_TYPES.append(line[2:].strip()) +if os.path.exists(os.path.join(STEM_BASE, '.travis.yml')): + IGNORED_FILE_TYPES.append('.travis.yml') + def get_new_capabilities(): """