From f3327ada01ce157ea0005be4b8f54597d87de78a Mon Sep 17 00:00:00 2001 From: chabad360 Date: Thu, 2 Aug 2018 10:58:22 -0700 Subject: [PATCH] fix travis config --- .travis.yml | 3 ++- curl-travis | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 curl-travis diff --git a/.travis.yml b/.travis.yml index 0a365179..6564c319 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 u+x ./dbench + - chmod u+x ./curl-travis install: - ./dbench --setup -d @@ -34,5 +35,5 @@ script: - docker-compose ps | grep -i redis-socketio - docker-compose ps | grep -i mariadb - python test.py - - curl -H "Content-Type: application/json" --data '{"docker_tag": "env"}' -X POST https://registry.hub.docker.com/u/chabad360/frappe/trigger/$hubkey/ + - ./curl-travis - docker-compose stop \ 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