diff --git a/.travis.yml b/.travis.yml index 89706128..704faac8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,6 +17,7 @@ before_install: - chmod +x docker-compose - sudo mv docker-compose /usr/local/bin - chmod ugo+x ./dbench + - chmod ugo+x ./curl-travis install: - ./dbench --setup -u @@ -34,4 +35,5 @@ script: - docker-compose ps | grep -i redis-socketio - docker-compose ps | grep -i mariadb - python test.py - - docker-compose stop \ No newline at end of file + - docker-compose stop + - ./curl-travis \ No newline at end of file diff --git a/curl-travis b/curl-travis new file mode 100644 index 00000000..99c96f81 --- /dev/null +++ b/curl-travis @@ -0,0 +1,3 @@ +#!/bin/bash + +curl -H "Content-Type: application/json" --data '{"docker_tag": "latest"}' -X POST https://registry.hub.docker.com/u/chabad360/frappe/trigger/$hubkey/ \ No newline at end of file