1
0
mirror of https://github.com/zokradonh/kopano-docker.git synced 2026-08-11 16:32:59 +00:00

Check with travis if containers start (#113)

* move .env creation into install
rerun check-scripts after creation as well
* update docker-compose
* add simple test if containers start up
* redirect output of compose stop
This commit is contained in:
Felix Bartels
2019-03-23 08:36:55 +01:00
committed by GitHub
parent 29839286ad
commit 6aff14c021
5 changed files with 76 additions and 13 deletions
+8
View File
@@ -215,6 +215,14 @@ test:
test-update-env:
docker-compose -f $(COMPOSE_FILE) up -d
test-ci:
docker-compose -f $(COMPOSE_FILE) -f tests/test-container.yml build
docker-compose -f $(COMPOSE_FILE) -f tests/test-container.yml up -d
docker-compose -f $(COMPOSE_FILE) -f tests/test-container.yml ps
docker wait kopano_test_1
docker logs --tail 10 kopano_test_1
docker-compose -f $(COMPOSE_FILE) -f tests/test-container.yml stop 2>/dev/null
test-quick:
docker-compose -f $(COMPOSE_FILE) stop || true
docker-compose -f $(COMPOSE_FILE) up -d