{"action":"created","comment":{"url":"https://api.github.com/repos/youtube/vitess/pulls/comments/22415679","id":22415679,"diff_hunk":"@@ -13,9 +13,13 @@ wget -O- https://download.newrelic.com/548C16BF.gpg | sudo apt-key add -\n sudo apt-get update\n \n # Install New relic to monitor perf metrics\n-sudo apt-get install newrelic-sysmond\n-sudo nrsysmond-config --set license_key=$NEWRELIC_LICENSE_KEY\n-sudo /etc/init.d/newrelic-sysmond start\n+# Travis will not set license key for forked pull\n+# requests, so skip the install.\n+if ! [ -z \"$$NEWRELIC_LICENSE_KEY\" ]; then","path":"travis/dependencies.sh","position":9,"original_position":9,"commit_id":"3e03bfee745d538a984a676ddc9e838932b4e704","original_commit_id":"3e03bfee745d538a984a676ddc9e838932b4e704","user":{"login":"nightlyone","id":1767118,"avatar_url":"https://avatars.githubusercontent.com/u/1767118?v=3","gravatar_id":"","url":"https://api.github.com/users/nightlyone","html_url":"https://github.com/nightlyone","followers_url":"https://api.github.com/users/nightlyone/followers","following_url":"https://api.github.com/users/nightlyone/following{/other_user}","gists_url":"https://api.github.com/users/nightlyone/gists{/gist_id}","starred_url":"https://api.github.com/users/nightlyone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nightlyone/subscriptions","organizations_url":"https://api.github.com/users/nightlyone/orgs","repos_url":"https://api.github.com/users/nightlyone/repos","events_url":"https://api.github.com/users/nightlyone/events{/privacy}","received_events_url":"https://api.github.com/users/nightlyone/received_events","type":"User","site_admin":false},"body":"Only one `$` here, since this is shell, not Makefile","created_at":"2015-01-02T17:19:29Z","updated_at":"2015-01-02T17:19:29Z","html_url":"https://github.com/youtube/vitess/pull/281#discussion_r22415679","pull_request_url":"https://api.github.com/repos/youtube/vitess/pulls/281","_links":{"self":{"href":"https://api.github.com/repos/youtube/vitess/pulls/comments/22415679"},"html":{"href":"https://github.com/youtube/vitess/pull/281#discussion_r22415679"},"pull_request":{"href":"https://api.github.com/repos/youtube/vitess/pulls/281"}}},"pull_request":{"url":"https://api.github.com/repos/youtube/vitess/pulls/281","id":26762909,"html_url":"https://github.com/youtube/vitess/pull/281","diff_url":"https://github.com/youtube/vitess/pull/281.diff","patch_url":"https://github.com/youtube/vitess/pull/281.patch","issue_url":"https://api.github.com/repos/youtube/vitess/issues/281","number":281,"state":"open","locked":false,"title":"Travis: Skip coveralls and new relic for pull requests from forks","user":{"login":"henryanand","id":1332584,"avatar_url":"https://avatars.githubusercontent.com/u/1332584?v=3","gravatar_id":"","url":"https://api.github.com/users/henryanand","html_url":"https://github.com/henryanand","followers_url":"https://api.github.com/users/henryanand/followers","following_url":"https://api.github.com/users/henryanand/following{/other_user}","gists_url":"https://api.github.com/users/henryanand/gists{/gist_id}","starred_url":"https://api.github.com/users/henryanand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henryanand/subscriptions","organizations_url":"https://api.github.com/users/henryanand/orgs","repos_url":"https://api.github.com/users/henryanand/repos","events_url":"https://api.github.com/users/henryanand/events{/privacy}","received_events_url":"https://api.github.com/users/henryanand/received_events","type":"User","site_admin":false},"body":"Forks aren't allowed to use the secret tokens set in Travis, so skip the dependencies that uses these tokens.","created_at":"2015-01-02T16:58:58Z","updated_at":"2015-01-02T17:19:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a58f37ea529b34fabdc78dc67468601dd7610596","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/youtube/vitess/pulls/281/commits","review_comments_url":"https://api.github.com/repos/youtube/vitess/pulls/281/comments","review_comment_url":"https://api.github.com/repos/youtube/vitess/pulls/comments/{number}","comments_url":"https://api.github.com/repos/youtube/vitess/issues/281/comments","statuses_url":"https://api.github.com/repos/youtube/vitess/statuses/3e03bfee745d538a984a676ddc9e838932b4e704","head":{"label":"youtube:coveralls-newrelic-skip","ref":"coveralls-newrelic-skip","sha":"3e03bfee745d538a984a676ddc9e838932b4e704","user":{"login":"youtube","id":4052902,"avatar_url":"https://avatars.githubusercontent.com/u/4052902?v=3","gravatar_id":"","url":"https://api.github.com/users/youtube","html_url":"https://github.com/youtube","followers_url":"https://api.github.com/users/youtube/followers","following_url":"https://api.github.com/users/youtube/following{/other_user}","gists_url":"https://api.github.com/users/youtube/gists{/gist_id}","starred_url":"https://api.github.com/users/youtube/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/youtube/subscriptions","organizations_url":"https://api.github.com/users/youtube/orgs","repos_url":"https://api.github.com/users/youtube/repos","events_url":"https://api.github.com/users/youtube/events{/privacy}","received_events_url":"https://api.github.com/users/youtube/received_events","type":"Organization","site_admin":false},"repo":{"id":11008207,"name":"vitess","full_name":"youtube/vitess","owner":{"login":"youtube","id":4052902,"avatar_url":"https://avatars.githubusercontent.com/u/4052902?v=3","gravatar_id":"","url":"https://api.github.com/users/youtube","html_url":"https://github.com/youtube","followers_url":"https://api.github.com/users/youtube/followers","following_url":"https://api.github.com/users/youtube/following{/other_user}","gists_url":"https://api.github.com/users/youtube/gists{/gist_id}","starred_url":"https://api.github.com/users/youtube/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/youtube/subscriptions","organizations_url":"https://api.github.com/users/youtube/orgs","repos_url":"https://api.github.com/users/youtube/repos","events_url":"https://api.github.com/users/youtube/events{/privacy}","received_events_url":"https://api.github.com/users/youtube/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/youtube/vitess","description":"vitess provides servers and tools which facilitate scaling of MySQL databases for large scale web services.","fork":false,"url":"https://api.github.com/repos/youtube/vitess","forks_url":"https://api.github.com/repos/youtube/vitess/forks","keys_url":"https://api.github.com/repos/youtube/vitess/keys{/key_id}","collaborators_url":"https://api.github.com/repos/youtube/vitess/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/youtube/vitess/teams","hooks_url":"https://api.github.com/repos/youtube/vitess/hooks","issue_events_url":"https://api.github.com/repos/youtube/vitess/issues/events{/number}","events_url":"https://api.github.com/repos/youtube/vitess/events","assignees_url":"https://api.github.com/repos/youtube/vitess/assignees{/user}","branches_url":"https://api.github.com/repos/youtube/vitess/branches{/branch}","tags_url":"https://api.github.com/repos/youtube/vitess/tags","blobs_url":"https://api.github.com/repos/youtube/vitess/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/youtube/vitess/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/youtube/vitess/git/refs{/sha}","trees_url":"https://api.github.com/repos/youtube/vitess/git/trees{/sha}","statuses_url":"https://api.github.com/repos/youtube/vitess/statuses/{sha}","languages_url":"https://api.github.com/repos/youtube/vitess/languages","stargazers_url":"https://api.github.com/repos/youtube/vitess/stargazers","contributors_url":"https://api.github.com/repos/youtube/vitess/contributors","subscribers_url":"https://api.github.com/repos/youtube/vitess/subscribers","subscription_url":"https://api.github.com/repos/youtube/vitess/subscription","commits_url":"https://api.github.com/repos/youtube/vitess/commits{/sha}","git_commits_url":"https://api.github.com/repos/youtube/vitess/git/commits{/sha}","comments_url":"https://api.github.com/repos/youtube/vitess/comments{/number}","issue_comment_url":"https://api.github.com/repos/youtube/vitess/issues/comments/{number}","contents_url":"https://api.github.com/repos/youtube/vitess/contents/{+path}","compare_url":"https://api.github.com/repos/youtube/vitess/compare/{base}...{head}","merges_url":"https://api.github.com/repos/youtube/vitess/merges","archive_url":"https://api.github.com/repos/youtube/vitess/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/youtube/vitess/downloads","issues_url":"https://api.github.com/repos/youtube/vitess/issues{/number}","pulls_url":"https://api.github.com/repos/youtube/vitess/pulls{/number}","milestones_url":"https://api.github.com/repos/youtube/vitess/milestones{/number}","notifications_url":"https://api.github.com/repos/youtube/vitess/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/youtube/vitess/labels{/name}","releases_url":"https://api.github.com/repos/youtube/vitess/releases{/id}","created_at":"2013-06-27T21:20:28Z","updated_at":"2015-01-02T10:50:32Z","pushed_at":"2015-01-02T17:08:06Z","git_url":"git://github.com/youtube/vitess.git","ssh_url":"git@github.com:youtube/vitess.git","clone_url":"https://github.com/youtube/vitess.git","svn_url":"https://github.com/youtube/vitess","homepage":null,"size":56245,"stargazers_count":1949,"watchers_count":1949,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":228,"mirror_url":null,"open_issues_count":11,"forks":228,"open_issues":11,"watchers":1949,"default_branch":"master"}},"base":{"label":"youtube:master","ref":"master","sha":"94b63128d3bad2be9306411e51721961722c5936","user":{"login":"youtube","id":4052902,"avatar_url":"https://avatars.githubusercontent.com/u/4052902?v=3","gravatar_id":"","url":"https://api.github.com/users/youtube","html_url":"https://github.com/youtube","followers_url":"https://api.github.com/users/youtube/followers","following_url":"https://api.github.com/users/youtube/following{/other_user}","gists_url":"https://api.github.com/users/youtube/gists{/gist_id}","starred_url":"https://api.github.com/users/youtube/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/youtube/subscriptions","organizations_url":"https://api.github.com/users/youtube/orgs","repos_url":"https://api.github.com/users/youtube/repos","events_url":"https://api.github.com/users/youtube/events{/privacy}","received_events_url":"https://api.github.com/users/youtube/received_events","type":"Organization","site_admin":false},"repo":{"id":11008207,"name":"vitess","full_name":"youtube/vitess","owner":{"login":"youtube","id":4052902,"avatar_url":"https://avatars.githubusercontent.com/u/4052902?v=3","gravatar_id":"","url":"https://api.github.com/users/youtube","html_url":"https://github.com/youtube","followers_url":"https://api.github.com/users/youtube/followers","following_url":"https://api.github.com/users/youtube/following{/other_user}","gists_url":"https://api.github.com/users/youtube/gists{/gist_id}","starred_url":"https://api.github.com/users/youtube/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/youtube/subscriptions","organizations_url":"https://api.github.com/users/youtube/orgs","repos_url":"https://api.github.com/users/youtube/repos","events_url":"https://api.github.com/users/youtube/events{/privacy}","received_events_url":"https://api.github.com/users/youtube/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/youtube/vitess","description":"vitess provides servers and tools which facilitate scaling of MySQL databases for large scale web services.","fork":false,"url":"https://api.github.com/repos/youtube/vitess","forks_url":"https://api.github.com/repos/youtube/vitess/forks","keys_url":"https://api.github.com/repos/youtube/vitess/keys{/key_id}","collaborators_url":"https://api.github.com/repos/youtube/vitess/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/youtube/vitess/teams","hooks_url":"https://api.github.com/repos/youtube/vitess/hooks","issue_events_url":"https://api.github.com/repos/youtube/vitess/issues/events{/number}","events_url":"https://api.github.com/repos/youtube/vitess/events","assignees_url":"https://api.github.com/repos/youtube/vitess/assignees{/user}","branches_url":"https://api.github.com/repos/youtube/vitess/branches{/branch}","tags_url":"https://api.github.com/repos/youtube/vitess/tags","blobs_url":"https://api.github.com/repos/youtube/vitess/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/youtube/vitess/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/youtube/vitess/git/refs{/sha}","trees_url":"https://api.github.com/repos/youtube/vitess/git/trees{/sha}","statuses_url":"https://api.github.com/repos/youtube/vitess/statuses/{sha}","languages_url":"https://api.github.com/repos/youtube/vitess/languages","stargazers_url":"https://api.github.com/repos/youtube/vitess/stargazers","contributors_url":"https://api.github.com/repos/youtube/vitess/contributors","subscribers_url":"https://api.github.com/repos/youtube/vitess/subscribers","subscription_url":"https://api.github.com/repos/youtube/vitess/subscription","commits_url":"https://api.github.com/repos/youtube/vitess/commits{/sha}","git_commits_url":"https://api.github.com/repos/youtube/vitess/git/commits{/sha}","comments_url":"https://api.github.com/repos/youtube/vitess/comments{/number}","issue_comment_url":"https://api.github.com/repos/youtube/vitess/issues/comments/{number}","contents_url":"https://api.github.com/repos/youtube/vitess/contents/{+path}","compare_url":"https://api.github.com/repos/youtube/vitess/compare/{base}...{head}","merges_url":"https://api.github.com/repos/youtube/vitess/merges","archive_url":"https://api.github.com/repos/youtube/vitess/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/youtube/vitess/downloads","issues_url":"https://api.github.com/repos/youtube/vitess/issues{/number}","pulls_url":"https://api.github.com/repos/youtube/vitess/pulls{/number}","milestones_url":"https://api.github.com/repos/youtube/vitess/milestones{/number}","notifications_url":"https://api.github.com/repos/youtube/vitess/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/youtube/vitess/labels{/name}","releases_url":"https://api.github.com/repos/youtube/vitess/releases{/id}","created_at":"2013-06-27T21:20:28Z","updated_at":"2015-01-02T10:50:32Z","pushed_at":"2015-01-02T17:08:06Z","git_url":"git://github.com/youtube/vitess.git","ssh_url":"git@github.com:youtube/vitess.git","clone_url":"https://github.com/youtube/vitess.git","svn_url":"https://github.com/youtube/vitess","homepage":null,"size":56245,"stargazers_count":1949,"watchers_count":1949,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":228,"mirror_url":null,"open_issues_count":11,"forks":228,"open_issues":11,"watchers":1949,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/youtube/vitess/pulls/281"},"html":{"href":"https://github.com/youtube/vitess/pull/281"},"issue":{"href":"https://api.github.com/repos/youtube/vitess/issues/281"},"comments":{"href":"https://api.github.com/repos/youtube/vitess/issues/281/comments"},"review_comments":{"href":"https://api.github.com/repos/youtube/vitess/pulls/281/comments"},"review_comment":{"href":"https://api.github.com/repos/youtube/vitess/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/youtube/vitess/pulls/281/commits"},"statuses":{"href":"https://api.github.com/repos/youtube/vitess/statuses/3e03bfee745d538a984a676ddc9e838932b4e704"}}}}