fix travis config

This commit is contained in:
chabad360 2018-08-02 10:58:22 -07:00
parent 69c8ff0dda
commit f3327ada01
2 changed files with 5 additions and 1 deletions

View file

@ -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

3
curl-travis Normal file
View file

@ -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/