From ef89e74163e7a9d4130e073293853355e2bdeadc Mon Sep 17 00:00:00 2001 From: Michael Kuron Date: Sun, 25 Jun 2017 11:44:12 +0200 Subject: [PATCH] Travis-CI --- .travis.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..f4a17849 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,15 @@ +sudo: required + +services: + - docker + +script: +- echo 'Europe/Berlin' | MAILCOW_HOSTNAME=build.mailcow ./generate_config.sh +- docker-compose pull --ignore-pull-failures --parallel +- docker-compose build +- docker login --username=$DOCKER_HUB_USERNAME --password=$DOCKER_HUB_PASSWORD +- docker-compose push + +branches: + only: + - master