{"action":"created","comment":{"url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/pulls/comments/29952624","id":29952624,"diff_hunk":"@@ -18,6 +18,14 @@ depends: [\n   \"ocamlfind\"\n   \"cstruct\" {>= \"1.2.0\"}\n   \"zarith\"\n+  \"ounit\" {test}\n ]\n+\n+build-test: [\n+  [\"ocaml\" \"setup.ml\" \"-configure\" \"--enable-tests\"]\n+  [\"ocaml\" \"setup.ml\" \"-build\"]\n+  [\"ocaml\" \"setup.ml\" \"-test\"]","path":"opam","position":10,"original_position":10,"commit_id":"05561c52221466288d7bbf2b062d7520ca8b2292","original_commit_id":"05561c52221466288d7bbf2b062d7520ca8b2292","user":{"login":"samoht","id":103693,"avatar_url":"https://avatars.githubusercontent.com/u/103693?v=3","gravatar_id":"","url":"https://api.github.com/users/samoht","html_url":"https://github.com/samoht","followers_url":"https://api.github.com/users/samoht/followers","following_url":"https://api.github.com/users/samoht/following{/other_user}","gists_url":"https://api.github.com/users/samoht/gists{/gist_id}","starred_url":"https://api.github.com/users/samoht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samoht/subscriptions","organizations_url":"https://api.github.com/users/samoht/orgs","repos_url":"https://api.github.com/users/samoht/repos","events_url":"https://api.github.com/users/samoht/events{/privacy}","received_events_url":"https://api.github.com/users/samoht/received_events","type":"User","site_admin":false},"body":"it's a bit unusal to do that (although it would work). See other `build-test` targets in my projects.","created_at":"2015-05-08T16:09:50Z","updated_at":"2015-05-08T16:09:50Z","html_url":"https://github.com/mirleft/ocaml-asn1-combinators/pull/11#discussion_r29952624","pull_request_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/pulls/comments/29952624"},"html":{"href":"https://github.com/mirleft/ocaml-asn1-combinators/pull/11#discussion_r29952624"},"pull_request":{"href":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/pulls/11","id":35021685,"html_url":"https://github.com/mirleft/ocaml-asn1-combinators/pull/11","diff_url":"https://github.com/mirleft/ocaml-asn1-combinators/pull/11.diff","patch_url":"https://github.com/mirleft/ocaml-asn1-combinators/pull/11.patch","issue_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/issues/11","number":11,"state":"open","locked":false,"title":"use centralised travis script","user":{"login":"hannesm","id":228456,"avatar_url":"https://avatars.githubusercontent.com/u/228456?v=3","gravatar_id":"","url":"https://api.github.com/users/hannesm","html_url":"https://github.com/hannesm","followers_url":"https://api.github.com/users/hannesm/followers","following_url":"https://api.github.com/users/hannesm/following{/other_user}","gists_url":"https://api.github.com/users/hannesm/gists{/gist_id}","starred_url":"https://api.github.com/users/hannesm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hannesm/subscriptions","organizations_url":"https://api.github.com/users/hannesm/orgs","repos_url":"https://api.github.com/users/hannesm/repos","events_url":"https://api.github.com/users/hannesm/events{/privacy}","received_events_url":"https://api.github.com/users/hannesm/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-05-08T15:55:57Z","updated_at":"2015-05-08T16:09:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6c1740469775fbe813d88588d5c76d268e6393b8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/pulls/11/commits","review_comments_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/pulls/11/comments","review_comment_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/issues/11/comments","statuses_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/statuses/05561c52221466288d7bbf2b062d7520ca8b2292","head":{"label":"mirleft:update-travis","ref":"update-travis","sha":"05561c52221466288d7bbf2b062d7520ca8b2292","user":{"login":"mirleft","id":6704925,"avatar_url":"https://avatars.githubusercontent.com/u/6704925?v=3","gravatar_id":"","url":"https://api.github.com/users/mirleft","html_url":"https://github.com/mirleft","followers_url":"https://api.github.com/users/mirleft/followers","following_url":"https://api.github.com/users/mirleft/following{/other_user}","gists_url":"https://api.github.com/users/mirleft/gists{/gist_id}","starred_url":"https://api.github.com/users/mirleft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mirleft/subscriptions","organizations_url":"https://api.github.com/users/mirleft/orgs","repos_url":"https://api.github.com/users/mirleft/repos","events_url":"https://api.github.com/users/mirleft/events{/privacy}","received_events_url":"https://api.github.com/users/mirleft/received_events","type":"Organization","site_admin":false},"repo":{"id":16770129,"name":"ocaml-asn1-combinators","full_name":"mirleft/ocaml-asn1-combinators","owner":{"login":"mirleft","id":6704925,"avatar_url":"https://avatars.githubusercontent.com/u/6704925?v=3","gravatar_id":"","url":"https://api.github.com/users/mirleft","html_url":"https://github.com/mirleft","followers_url":"https://api.github.com/users/mirleft/followers","following_url":"https://api.github.com/users/mirleft/following{/other_user}","gists_url":"https://api.github.com/users/mirleft/gists{/gist_id}","starred_url":"https://api.github.com/users/mirleft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mirleft/subscriptions","organizations_url":"https://api.github.com/users/mirleft/orgs","repos_url":"https://api.github.com/users/mirleft/repos","events_url":"https://api.github.com/users/mirleft/events{/privacy}","received_events_url":"https://api.github.com/users/mirleft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mirleft/ocaml-asn1-combinators","description":"Combinators for expressing ASN.1 grammars in OCaml","fork":false,"url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators","forks_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/forks","keys_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/teams","hooks_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/hooks","issue_events_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/issues/events{/number}","events_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/events","assignees_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/assignees{/user}","branches_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/branches{/branch}","tags_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/tags","blobs_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/git/refs{/sha}","trees_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/statuses/{sha}","languages_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/languages","stargazers_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/stargazers","contributors_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/contributors","subscribers_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/subscribers","subscription_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/subscription","commits_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/commits{/sha}","git_commits_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/git/commits{/sha}","comments_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/comments{/number}","issue_comment_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/issues/comments{/number}","contents_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/contents/{+path}","compare_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/merges","archive_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/downloads","issues_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/issues{/number}","pulls_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/pulls{/number}","milestones_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/milestones{/number}","notifications_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/labels{/name}","releases_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/releases{/id}","created_at":"2014-02-12T14:40:39Z","updated_at":"2015-05-02T17:42:40Z","pushed_at":"2015-05-08T15:55:58Z","git_url":"git://github.com/mirleft/ocaml-asn1-combinators.git","ssh_url":"git@github.com:mirleft/ocaml-asn1-combinators.git","clone_url":"https://github.com/mirleft/ocaml-asn1-combinators.git","svn_url":"https://github.com/mirleft/ocaml-asn1-combinators","homepage":"","size":1007,"stargazers_count":13,"watchers_count":13,"language":"OCaml","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":2,"forks":4,"open_issues":2,"watchers":13,"default_branch":"master"}},"base":{"label":"mirleft:master","ref":"master","sha":"31bc1d0a049b6c20bc6dfb88abfb29eb0ac6498e","user":{"login":"mirleft","id":6704925,"avatar_url":"https://avatars.githubusercontent.com/u/6704925?v=3","gravatar_id":"","url":"https://api.github.com/users/mirleft","html_url":"https://github.com/mirleft","followers_url":"https://api.github.com/users/mirleft/followers","following_url":"https://api.github.com/users/mirleft/following{/other_user}","gists_url":"https://api.github.com/users/mirleft/gists{/gist_id}","starred_url":"https://api.github.com/users/mirleft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mirleft/subscriptions","organizations_url":"https://api.github.com/users/mirleft/orgs","repos_url":"https://api.github.com/users/mirleft/repos","events_url":"https://api.github.com/users/mirleft/events{/privacy}","received_events_url":"https://api.github.com/users/mirleft/received_events","type":"Organization","site_admin":false},"repo":{"id":16770129,"name":"ocaml-asn1-combinators","full_name":"mirleft/ocaml-asn1-combinators","owner":{"login":"mirleft","id":6704925,"avatar_url":"https://avatars.githubusercontent.com/u/6704925?v=3","gravatar_id":"","url":"https://api.github.com/users/mirleft","html_url":"https://github.com/mirleft","followers_url":"https://api.github.com/users/mirleft/followers","following_url":"https://api.github.com/users/mirleft/following{/other_user}","gists_url":"https://api.github.com/users/mirleft/gists{/gist_id}","starred_url":"https://api.github.com/users/mirleft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mirleft/subscriptions","organizations_url":"https://api.github.com/users/mirleft/orgs","repos_url":"https://api.github.com/users/mirleft/repos","events_url":"https://api.github.com/users/mirleft/events{/privacy}","received_events_url":"https://api.github.com/users/mirleft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mirleft/ocaml-asn1-combinators","description":"Combinators for expressing ASN.1 grammars in OCaml","fork":false,"url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators","forks_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/forks","keys_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/teams","hooks_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/hooks","issue_events_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/issues/events{/number}","events_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/events","assignees_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/assignees{/user}","branches_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/branches{/branch}","tags_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/tags","blobs_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/git/refs{/sha}","trees_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/statuses/{sha}","languages_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/languages","stargazers_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/stargazers","contributors_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/contributors","subscribers_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/subscribers","subscription_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/subscription","commits_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/commits{/sha}","git_commits_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/git/commits{/sha}","comments_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/comments{/number}","issue_comment_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/issues/comments{/number}","contents_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/contents/{+path}","compare_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/merges","archive_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/downloads","issues_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/issues{/number}","pulls_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/pulls{/number}","milestones_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/milestones{/number}","notifications_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/labels{/name}","releases_url":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/releases{/id}","created_at":"2014-02-12T14:40:39Z","updated_at":"2015-05-02T17:42:40Z","pushed_at":"2015-05-08T15:55:58Z","git_url":"git://github.com/mirleft/ocaml-asn1-combinators.git","ssh_url":"git@github.com:mirleft/ocaml-asn1-combinators.git","clone_url":"https://github.com/mirleft/ocaml-asn1-combinators.git","svn_url":"https://github.com/mirleft/ocaml-asn1-combinators","homepage":"","size":1007,"stargazers_count":13,"watchers_count":13,"language":"OCaml","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":2,"forks":4,"open_issues":2,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/pulls/11"},"html":{"href":"https://github.com/mirleft/ocaml-asn1-combinators/pull/11"},"issue":{"href":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/issues/11"},"comments":{"href":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/mirleft/ocaml-asn1-combinators/statuses/05561c52221466288d7bbf2b062d7520ca8b2292"}}}}