1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-02-13 13:28:30 +02:00

Moved certs copy in travis

This commit is contained in:
Ionut Filip 2018-11-02 15:17:59 +02:00
parent 88f5e6e4cf
commit fd8ed3dfa6
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -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()