mirror of
https://github.com/optim-enterprises-bv/Mailu.git
synced 2025-11-01 10:37:49 +00:00
Moved certs copy in travis
This commit is contained in:
@@ -18,7 +18,8 @@ install:
|
|||||||
before_script:
|
before_script:
|
||||||
- docker-compose -v
|
- docker-compose -v
|
||||||
- docker-compose -f tests/build.yml build
|
- docker-compose -f tests/build.yml build
|
||||||
|
- mkdir -p /mailu && sudo cp -r tests/certs /mailu && chmod 600 /mailu/certs/*
|
||||||
|
|
||||||
script:
|
script:
|
||||||
# test.py, test name and timeout between start and tests.
|
# test.py, test name and timeout between start and tests.
|
||||||
- python tests/compose/test.py core 1
|
- python tests/compose/test.py core 1
|
||||||
|
|||||||
@@ -78,8 +78,6 @@ def hooks():
|
|||||||
os.system("python3 tests/compose/email_test.py")
|
os.system("python3 tests/compose/email_test.py")
|
||||||
|
|
||||||
# Start up containers
|
# 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 ")
|
os.system("docker-compose -f " + compose_file + " up -d ")
|
||||||
print()
|
print()
|
||||||
sleep()
|
sleep()
|
||||||
|
|||||||
Reference in New Issue
Block a user