fixed travis.yml

This commit is contained in:
André Bauer 2017-07-23 13:28:07 +02:00
parent eb38beb7f2
commit 1a8858f73b
2 changed files with 9 additions and 1 deletions

View file

@ -55,4 +55,4 @@ script:
- ruby -I test/ test/integration/user_device_controller_test.rb - ruby -I test/ test/integration/user_device_controller_test.rb
- ruby -I test/ test/integration/sipgate_controller_test.rb - ruby -I test/ test/integration/sipgate_controller_test.rb
- rake db:drop - rake db:drop
after_success: curl -X POST -H "Content-Type: application/json" -H "Travis-API-Version: 3" -H "Accept: application/json" -H "Authorization: ${TRAVIS_API_TOKEN}" -d '{"request": {"branch": "master"}}' 'https://api.travis-ci.org/repo/zammad%2Fzammad-docker-compose/requests' after_success: contrib/travis-ci.org/trigger-docker-compose-build.sh

View file

@ -0,0 +1,8 @@
#!/bin/bash
#
# trigger build of https://github.com/zammad/zammad-docker-compose on https://travis-ci.org/zammad/zammad-docker-compose and upload it to https://hub.docker.com/r/zammad/zammad-docker-compose/
#
if [ ${TRAVIS_BRANCH} == 'stable' ]; then
curl -X POST -H "Content-Type: application/json" -H "Travis-API-Version: 3" -H "Accept: application/json" -H "Authorization: ${TRAVIS_API_TOKEN}" -d '{"request": {"branch": "master"}}' 'https://api.travis-ci.org/repo/zammad%2Fzammad-docker-compose/requests'
fi