[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [stem/master] Ignore .travis.yml file in tests



commit ce15c3bd497e60949bf7f07fd8136f82c40e7735
Author: Edmund Wong <ewongbb@xxxxxxxxxxx>
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():
   """



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits