👷 Trigger Docker images build on Travis (#65)

This commit is contained in:
Sebastián Ramírez authored and GitHub committed 2019-03-04 11:12:21 +04:00
1 parent 7658d0af16
commit 2caca42b9e
2 files changed
+23

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
#!/usr/bin/env bash
set -e
set -x
body='{
"request": {
"branch":"master"
}}'
curl -s -X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Travis-API-Version: 3" \
-H "Authorization: token $TRAVIS_TOKEN" \
-d "$body" \
https://api.travis-ci.org/repo/tiangolo%2Fuvicorn-gunicorn-fastapi-docker/requests