mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-12 16:22:17 -05:00
17 lines
671 B
Bash
Executable File
17 lines
671 B
Bash
Executable File
#!/bin/bash -x
|
|
|
|
# This script lives in each of the upstream repos. Add this to .travis.yml to
|
|
# run after each successful build (assuming that the script is in the root of
|
|
# the repo):
|
|
# after_success:
|
|
# - ./trigger-dependent-build
|
|
#
|
|
|
|
# An authorization token generated by running:
|
|
# gem install travis
|
|
# travis login
|
|
# travis token
|
|
#
|
|
|
|
curl -vvv -s -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "Travis-API-Version: 3" -H "Authorization: token $auth_token" -d '{"request":{"branch":"master","config":{"env":{"global":["ENVIRONMENT=preview"]}}}}' https://api.travis-ci.org/repo/alphagov%2Fnotifications-functional-tests/requests
|