From 497e429a3c748590cf4d5b5658906de9b851643f Mon Sep 17 00:00:00 2001 From: chabad360 Date: Thu, 2 Aug 2018 20:52:01 -0700 Subject: [PATCH] added curl-travis to master --- .travis.yml | 4 +++- curl-travis | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 curl-travis 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