From fd8ed3dfa6c901bd2a493d64042ac5a6e3c4bd39 Mon Sep 17 00:00:00 2001 From: Ionut Filip Date: Fri, 2 Nov 2018 15:17:59 +0200 Subject: [PATCH] Moved certs copy in travis --- .travis.yml | 3 ++- tests/compose/test.py | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 54b3b3c7..a0762280 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,7 +18,8 @@ install: before_script: - docker-compose -v - docker-compose -f tests/build.yml build - + - mkdir -p /mailu && sudo cp -r tests/certs /mailu && chmod 600 /mailu/certs/* + script: # test.py, test name and timeout between start and tests. - python tests/compose/test.py core 1 diff --git a/tests/compose/test.py b/tests/compose/test.py index c90f481b..a44382a1 100755 --- a/tests/compose/test.py +++ b/tests/compose/test.py @@ -78,8 +78,6 @@ def hooks(): os.system("python3 tests/compose/email_test.py") # Start up containers -os.system("mkdir -p /mailu && cp -r tests/certs /mailu") -os.system("chmod 600 /mailu/certs/* ") os.system("docker-compose -f " + compose_file + " up -d ") print() sleep()