{"action":"created","comment":{"url":"https://api.github.com/repos/vokal/vip/pulls/comments/53806479","id":53806479,"diff_hunk":"@@ -1,30 +1,28 @@\n-image: bradrydzewski/go:1.3\n-env:\n-    - GOPATH=/var/cache/drone\n-    - PATH=$GOPATH/bin:$GOROOT/bin:$PATH\n-    - CVR_TOKEN=$$cvrToken\n-script:\n-    - export GITHASH=$(git rev-parse HEAD)\n-    - cd .. && mv vip /var/cache/drone/src\n-    - cd /var/cache/drone/src/vip\n-    - sudo apt-get update -qq\n-    - sudo apt-get -y install bzr mercurial python-pip\n-    - sudo apt-get -y install automake build-essential git gobject-introspection libglib2.0-dev libjpeg-turbo8-dev libpng12-dev gtk-doc-tools\n-    - git clone  --depth=50 --recursive git@github.com:vokal/q.git $GOPATH/src/github.com/vokal/q\n-    - git clone https://github.com/jcupitt/libvips.git\n-    - cd libvips\n-    - ./bootstrap.sh\n-    - ./configure --enable-debug=no --without-python --without-fftw --without-libexif --without-libgf --without-little-cms --without-orc --without-pango --prefix=/usr\n-    - make\n-    - sudo make install\n-    - sudo ldconfig\n-    - cd ..\n-    - go get\n-    - go get -t\n-    - go build\n-    - go test -gocheck.v -coverprofile=coverage.txt -covermode=count\n-    - cd fetch && go test -v -coverprofile=coverage.txt -covermode=count\n-    - cd ..\n-    - cat fetch/coverage.txt >> coverage.txt && rm fetch/coverage.txt\n-    - cat coverage.txt\n-    - curl -sSL https://cvr.vokal.io/upload | bash\n+build:\n+    image: golang\n+    environment:\n+        - ENVIRONMENT=drone\n+        - REPO_OWNER=vokal\n+        - REPO_NAME=vip\n+    commands:\n+        - apt-get update -qq\n+        - apt-get install -y libvips37 libxml2-dev automake build-essential git gobject-introspection libglib2.0-dev libjpeg-turbo8-dev libpng12-dev gtk-doc-tools\n+        - git clone https://github.com/jcupitt/libvips.git\n+        - cd libvips\n+        - ./bootstrap.sh\n+        - ./configure --enable-debug=no --without-python --without-fftw --without-libexif --without-libgf --without-little-cms --without-orc --without-pango --prefix=/usr\n+        - make\n+        - make install\n+        - ldconfig\n+        - cd ..\n+        - go get\n+        - go get -t\n+        - go build\n+        - go test -gocheck.v -coverprofile=coverage.txt -covermode=count\n+        - cd fetch && go test -v -coverprofile=coverage.txt -covermode=count\n+        - cd ..\n+        - cat fetch/coverage.txt >> coverage.txt && rm fetch/coverage.txt\n+        - cat coverage.txt\n+        - export GIT_HASH=$(git rev-parse HEAD)\n+        - export CVR_URL=\"https://cvr.vokal.io/coverage?commit=$GIT_HASH&owner=$REPO_OWNER&repo=$REPO_NAME&coveragetype=cobertura\"","path":".drone.yml","position":57,"original_position":57,"commit_id":"13f59164f4bc7048cc5c9738eda53113135a976c","original_commit_id":"924dade899cc25e8df5ae8ed682a119e4b644f11","user":{"login":"scottferg","id":74309,"avatar_url":"https://avatars.githubusercontent.com/u/74309?v=3","gravatar_id":"","url":"https://api.github.com/users/scottferg","html_url":"https://github.com/scottferg","followers_url":"https://api.github.com/users/scottferg/followers","following_url":"https://api.github.com/users/scottferg/following{/other_user}","gists_url":"https://api.github.com/users/scottferg/gists{/gist_id}","starred_url":"https://api.github.com/users/scottferg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottferg/subscriptions","organizations_url":"https://api.github.com/users/scottferg/orgs","repos_url":"https://api.github.com/users/scottferg/repos","events_url":"https://api.github.com/users/scottferg/events{/privacy}","received_events_url":"https://api.github.com/users/scottferg/received_events","type":"User","site_admin":false},"body":"I know I'll fix that up when I get there","created_at":"2016-02-23T16:32:10Z","updated_at":"2016-02-23T16:32:10Z","html_url":"https://github.com/vokal/vip/pull/128#discussion_r53806479","pull_request_url":"https://api.github.com/repos/vokal/vip/pulls/128","_links":{"self":{"href":"https://api.github.com/repos/vokal/vip/pulls/comments/53806479"},"html":{"href":"https://github.com/vokal/vip/pull/128#discussion_r53806479"},"pull_request":{"href":"https://api.github.com/repos/vokal/vip/pulls/128"}}},"pull_request":{"url":"https://api.github.com/repos/vokal/vip/pulls/128","id":60366700,"html_url":"https://github.com/vokal/vip/pull/128","diff_url":"https://github.com/vokal/vip/pull/128.diff","patch_url":"https://github.com/vokal/vip/pull/128.patch","issue_url":"https://api.github.com/repos/vokal/vip/issues/128","number":128,"state":"open","locked":false,"title":"Build updates","user":{"login":"scottferg","id":74309,"avatar_url":"https://avatars.githubusercontent.com/u/74309?v=3","gravatar_id":"","url":"https://api.github.com/users/scottferg","html_url":"https://github.com/scottferg","followers_url":"https://api.github.com/users/scottferg/followers","following_url":"https://api.github.com/users/scottferg/following{/other_user}","gists_url":"https://api.github.com/users/scottferg/gists{/gist_id}","starred_url":"https://api.github.com/users/scottferg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottferg/subscriptions","organizations_url":"https://api.github.com/users/scottferg/orgs","repos_url":"https://api.github.com/users/scottferg/repos","events_url":"https://api.github.com/users/scottferg/events{/privacy}","received_events_url":"https://api.github.com/users/scottferg/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-02-23T16:24:59Z","updated_at":"2016-02-23T16:32:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4dedcb6191de917325123795882a31487884377f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/vokal/vip/pulls/128/commits","review_comments_url":"https://api.github.com/repos/vokal/vip/pulls/128/comments","review_comment_url":"https://api.github.com/repos/vokal/vip/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vokal/vip/issues/128/comments","statuses_url":"https://api.github.com/repos/vokal/vip/statuses/13f59164f4bc7048cc5c9738eda53113135a976c","head":{"label":"scottferg:master","ref":"master","sha":"13f59164f4bc7048cc5c9738eda53113135a976c","user":{"login":"scottferg","id":74309,"avatar_url":"https://avatars.githubusercontent.com/u/74309?v=3","gravatar_id":"","url":"https://api.github.com/users/scottferg","html_url":"https://github.com/scottferg","followers_url":"https://api.github.com/users/scottferg/followers","following_url":"https://api.github.com/users/scottferg/following{/other_user}","gists_url":"https://api.github.com/users/scottferg/gists{/gist_id}","starred_url":"https://api.github.com/users/scottferg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottferg/subscriptions","organizations_url":"https://api.github.com/users/scottferg/orgs","repos_url":"https://api.github.com/users/scottferg/repos","events_url":"https://api.github.com/users/scottferg/events{/privacy}","received_events_url":"https://api.github.com/users/scottferg/received_events","type":"User","site_admin":false},"repo":{"id":44765699,"name":"vip","full_name":"scottferg/vip","owner":{"login":"scottferg","id":74309,"avatar_url":"https://avatars.githubusercontent.com/u/74309?v=3","gravatar_id":"","url":"https://api.github.com/users/scottferg","html_url":"https://github.com/scottferg","followers_url":"https://api.github.com/users/scottferg/followers","following_url":"https://api.github.com/users/scottferg/following{/other_user}","gists_url":"https://api.github.com/users/scottferg/gists{/gist_id}","starred_url":"https://api.github.com/users/scottferg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottferg/subscriptions","organizations_url":"https://api.github.com/users/scottferg/orgs","repos_url":"https://api.github.com/users/scottferg/repos","events_url":"https://api.github.com/users/scottferg/events{/privacy}","received_events_url":"https://api.github.com/users/scottferg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/scottferg/vip","description":"","fork":true,"url":"https://api.github.com/repos/scottferg/vip","forks_url":"https://api.github.com/repos/scottferg/vip/forks","keys_url":"https://api.github.com/repos/scottferg/vip/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scottferg/vip/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scottferg/vip/teams","hooks_url":"https://api.github.com/repos/scottferg/vip/hooks","issue_events_url":"https://api.github.com/repos/scottferg/vip/issues/events{/number}","events_url":"https://api.github.com/repos/scottferg/vip/events","assignees_url":"https://api.github.com/repos/scottferg/vip/assignees{/user}","branches_url":"https://api.github.com/repos/scottferg/vip/branches{/branch}","tags_url":"https://api.github.com/repos/scottferg/vip/tags","blobs_url":"https://api.github.com/repos/scottferg/vip/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scottferg/vip/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scottferg/vip/git/refs{/sha}","trees_url":"https://api.github.com/repos/scottferg/vip/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scottferg/vip/statuses/{sha}","languages_url":"https://api.github.com/repos/scottferg/vip/languages","stargazers_url":"https://api.github.com/repos/scottferg/vip/stargazers","contributors_url":"https://api.github.com/repos/scottferg/vip/contributors","subscribers_url":"https://api.github.com/repos/scottferg/vip/subscribers","subscription_url":"https://api.github.com/repos/scottferg/vip/subscription","commits_url":"https://api.github.com/repos/scottferg/vip/commits{/sha}","git_commits_url":"https://api.github.com/repos/scottferg/vip/git/commits{/sha}","comments_url":"https://api.github.com/repos/scottferg/vip/comments{/number}","issue_comment_url":"https://api.github.com/repos/scottferg/vip/issues/comments{/number}","contents_url":"https://api.github.com/repos/scottferg/vip/contents/{+path}","compare_url":"https://api.github.com/repos/scottferg/vip/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scottferg/vip/merges","archive_url":"https://api.github.com/repos/scottferg/vip/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scottferg/vip/downloads","issues_url":"https://api.github.com/repos/scottferg/vip/issues{/number}","pulls_url":"https://api.github.com/repos/scottferg/vip/pulls{/number}","milestones_url":"https://api.github.com/repos/scottferg/vip/milestones{/number}","notifications_url":"https://api.github.com/repos/scottferg/vip/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scottferg/vip/labels{/name}","releases_url":"https://api.github.com/repos/scottferg/vip/releases{/id}","deployments_url":"https://api.github.com/repos/scottferg/vip/deployments","created_at":"2015-10-22T18:39:58Z","updated_at":"2016-02-23T16:24:41Z","pushed_at":"2016-02-23T16:31:57Z","git_url":"git://github.com/scottferg/vip.git","ssh_url":"git@github.com:scottferg/vip.git","clone_url":"https://github.com/scottferg/vip.git","svn_url":"https://github.com/scottferg/vip","homepage":null,"size":5522,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"vokal:master","ref":"master","sha":"03319d89ea01c51acc7bf8532fcddb4cd9c947fd","user":{"login":"vokal","id":375026,"avatar_url":"https://avatars.githubusercontent.com/u/375026?v=3","gravatar_id":"","url":"https://api.github.com/users/vokal","html_url":"https://github.com/vokal","followers_url":"https://api.github.com/users/vokal/followers","following_url":"https://api.github.com/users/vokal/following{/other_user}","gists_url":"https://api.github.com/users/vokal/gists{/gist_id}","starred_url":"https://api.github.com/users/vokal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vokal/subscriptions","organizations_url":"https://api.github.com/users/vokal/orgs","repos_url":"https://api.github.com/users/vokal/repos","events_url":"https://api.github.com/users/vokal/events{/privacy}","received_events_url":"https://api.github.com/users/vokal/received_events","type":"Organization","site_admin":false},"repo":{"id":14987124,"name":"vip","full_name":"vokal/vip","owner":{"login":"vokal","id":375026,"avatar_url":"https://avatars.githubusercontent.com/u/375026?v=3","gravatar_id":"","url":"https://api.github.com/users/vokal","html_url":"https://github.com/vokal","followers_url":"https://api.github.com/users/vokal/followers","following_url":"https://api.github.com/users/vokal/following{/other_user}","gists_url":"https://api.github.com/users/vokal/gists{/gist_id}","starred_url":"https://api.github.com/users/vokal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vokal/subscriptions","organizations_url":"https://api.github.com/users/vokal/orgs","repos_url":"https://api.github.com/users/vokal/repos","events_url":"https://api.github.com/users/vokal/events{/privacy}","received_events_url":"https://api.github.com/users/vokal/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vokal/vip","description":"Vokal Image Proxy is a lightweight image proxy designed for easy resizing and caching of images for mobile applications.","fork":false,"url":"https://api.github.com/repos/vokal/vip","forks_url":"https://api.github.com/repos/vokal/vip/forks","keys_url":"https://api.github.com/repos/vokal/vip/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vokal/vip/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vokal/vip/teams","hooks_url":"https://api.github.com/repos/vokal/vip/hooks","issue_events_url":"https://api.github.com/repos/vokal/vip/issues/events{/number}","events_url":"https://api.github.com/repos/vokal/vip/events","assignees_url":"https://api.github.com/repos/vokal/vip/assignees{/user}","branches_url":"https://api.github.com/repos/vokal/vip/branches{/branch}","tags_url":"https://api.github.com/repos/vokal/vip/tags","blobs_url":"https://api.github.com/repos/vokal/vip/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vokal/vip/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vokal/vip/git/refs{/sha}","trees_url":"https://api.github.com/repos/vokal/vip/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vokal/vip/statuses/{sha}","languages_url":"https://api.github.com/repos/vokal/vip/languages","stargazers_url":"https://api.github.com/repos/vokal/vip/stargazers","contributors_url":"https://api.github.com/repos/vokal/vip/contributors","subscribers_url":"https://api.github.com/repos/vokal/vip/subscribers","subscription_url":"https://api.github.com/repos/vokal/vip/subscription","commits_url":"https://api.github.com/repos/vokal/vip/commits{/sha}","git_commits_url":"https://api.github.com/repos/vokal/vip/git/commits{/sha}","comments_url":"https://api.github.com/repos/vokal/vip/comments{/number}","issue_comment_url":"https://api.github.com/repos/vokal/vip/issues/comments{/number}","contents_url":"https://api.github.com/repos/vokal/vip/contents/{+path}","compare_url":"https://api.github.com/repos/vokal/vip/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vokal/vip/merges","archive_url":"https://api.github.com/repos/vokal/vip/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vokal/vip/downloads","issues_url":"https://api.github.com/repos/vokal/vip/issues{/number}","pulls_url":"https://api.github.com/repos/vokal/vip/pulls{/number}","milestones_url":"https://api.github.com/repos/vokal/vip/milestones{/number}","notifications_url":"https://api.github.com/repos/vokal/vip/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vokal/vip/labels{/name}","releases_url":"https://api.github.com/repos/vokal/vip/releases{/id}","deployments_url":"https://api.github.com/repos/vokal/vip/deployments","created_at":"2013-12-06T16:06:28Z","updated_at":"2016-01-07T19:41:18Z","pushed_at":"2016-02-23T16:31:57Z","git_url":"git://github.com/vokal/vip.git","ssh_url":"git@github.com:vokal/vip.git","clone_url":"https://github.com/vokal/vip.git","svn_url":"https://github.com/vokal/vip","homepage":"","size":6174,"stargazers_count":2,"watchers_count":2,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":32,"forks":6,"open_issues":32,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vokal/vip/pulls/128"},"html":{"href":"https://github.com/vokal/vip/pull/128"},"issue":{"href":"https://api.github.com/repos/vokal/vip/issues/128"},"comments":{"href":"https://api.github.com/repos/vokal/vip/issues/128/comments"},"review_comments":{"href":"https://api.github.com/repos/vokal/vip/pulls/128/comments"},"review_comment":{"href":"https://api.github.com/repos/vokal/vip/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vokal/vip/pulls/128/commits"},"statuses":{"href":"https://api.github.com/repos/vokal/vip/statuses/13f59164f4bc7048cc5c9738eda53113135a976c"}}}}