/homu-travis.json
Created Aug 31, 2015
homu helper scripts and data
| { | |
| "name": "travis", | |
| "active": true, | |
| "events": [ | |
| "push", | |
| "pull_request", | |
| "issue_comment", | |
| "public", | |
| "member" | |
| ], | |
| "config": { | |
| "user": "bors-servo", | |
| "token": "SECRET!", | |
| "domain": "notify.travis-ci.org" | |
| } | |
| } |
| { | |
| "name": "web", | |
| "active": true, | |
| "events": [ | |
| "issue_comment", | |
| "pull_request", | |
| "push" | |
| ], | |
| "config": { | |
| "url": "http://build.servo.org:54856/github", | |
| "content_type": "json", | |
| "insecure_ssl": "0", | |
| "secret": "SECRET!" | |
| } | |
| } |
| #!/bin/bash | |
| owner=servo | |
| repo=$1 | |
| user=metajack | |
| notravis=$2 | |
| curl -i -u $user -X POST https://api.github.com/repos/$owner/$repo/hooks --data @homu-web.json | |
| if [ -z "$2" ]; then | |
| curl -i -u $user -X POST https://api.github.com/repos/$owner/$repo/hooks --data @homu-travis.json | |
| fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment