I think json for dependent build env var was incorrect

This commit is contained in:
Adam Shimali
2016-05-09 14:10:02 +01:00
parent 2c230fb6d8
commit 506ef3a30f

View File

@@ -7,4 +7,4 @@
# - ./trigger-dependent-build
#
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":{"script": "./scripts/run_tests.sh preview"}}' https://api.travis-ci.org/repo/alphagov%2Fnotifications-functional-tests/requests
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":{"matrix":["ENVIRONMENT=preview"]}}}}' https://api.travis-ci.org/repo/alphagov%2Fnotifications-functional-tests/requests