From bee046b2ea1952c21bc20b09fa16f479584be603 Mon Sep 17 00:00:00 2001 From: Ric Harvey Date: Mon, 13 Feb 2017 23:22:04 +0000 Subject: [PATCH] Tidy up travis files --- .travis.yml | 2 +- tests.py => .travis/tests.py | 2 +- {tests => .travis/tests}/functional/test_content.py | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename tests.py => .travis/tests.py (86%) rename {tests => .travis/tests}/functional/test_content.py (100%) diff --git a/.travis.yml b/.travis.yml index b7a0095..4cbcc83 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,7 +16,7 @@ script: - docker ps - sleep 5 - curl -I 127.0.0.1:80 - - python tests.py + - python .travis/tests.py notifications: slack: ngineered:EIKJFrzibOe0TwUhLXNe8Q2Q diff --git a/tests.py b/.travis/tests.py similarity index 86% rename from tests.py rename to .travis/tests.py index 3e4fee0..8f494e7 100644 --- a/tests.py +++ b/.travis/tests.py @@ -5,7 +5,7 @@ import sys def run_functional_tests(): ''' Execute Functional Tests ''' - tests = unittest.TestLoader().discover('tests/functional') + tests = unittest.TestLoader().discover('.travis/tests/functional') result = unittest.TextTestRunner(verbosity=2).run(tests) return result.wasSuccessful() diff --git a/tests/functional/test_content.py b/.travis/tests/functional/test_content.py similarity index 100% rename from tests/functional/test_content.py rename to .travis/tests/functional/test_content.py