{"action":"opened","number":7,"pull_request":{"url":"https://api.github.com/repos/bordozer/totalizator/pulls/7","id":40558863,"html_url":"https://github.com/bordozer/totalizator/pull/7","diff_url":"https://github.com/bordozer/totalizator/pull/7.diff","patch_url":"https://github.com/bordozer/totalizator/pull/7.patch","issue_url":"https://api.github.com/repos/bordozer/totalizator/issues/7","number":7,"state":"open","locked":false,"title":"Continuous integration server","user":{"login":"dimasmith","id":1268169,"avatar_url":"https://avatars.githubusercontent.com/u/1268169?v=3","gravatar_id":"","url":"https://api.github.com/users/dimasmith","html_url":"https://github.com/dimasmith","followers_url":"https://api.github.com/users/dimasmith/followers","following_url":"https://api.github.com/users/dimasmith/following{/other_user}","gists_url":"https://api.github.com/users/dimasmith/gists{/gist_id}","starred_url":"https://api.github.com/users/dimasmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimasmith/subscriptions","organizations_url":"https://api.github.com/users/dimasmith/orgs","repos_url":"https://api.github.com/users/dimasmith/repos","events_url":"https://api.github.com/users/dimasmith/events{/privacy}","received_events_url":"https://api.github.com/users/dimasmith/received_events","type":"User","site_admin":false},"body":"Time to run tests automatically :smile: \r\n\r\nThere is open source hosted CI server called travis. It is completely free for github projects. Thing I committed is a build job descriptor. With this file travis will run tests on each push or pull request so we know that something is failed in a couple of minutes.\r\n\r\n## Setting up \r\n(it's better to do it *before* accepting this pull request)\r\n\r\n* Go to https://travis-ci.org\r\n* Log in with your github account\r\n* Go to your profile (top-right corner of screen)\r\n* In list of repositories enable CI builds for totalizator repo\r\n* Press settings button next to repository enable switch. Enable building only when `.travis.yml` present, building pushes and building pull requests\r\n* Accept this pull request (if you haven't done it before)\r\n\r\nTravis will build all subsequent pushes and pull requests made to this repository. You can see build results on https://travis-ci.org\r\n\r\nFor each open pull request github will display whether tests were passed or not (so you can kick me off when I'm not passing :smile: )\r\n\r\n## Set up build result markup (optional)\r\n\r\nAfter first build is done you may click onto image with build status (green one on top). Dialog will appear proposing you a link to build status image. Use `markdown` as format and add it somewhere to the top of README.md file. After that anyone who will go to our repo will see glorious mark that tests are passing.","created_at":"2015-07-22T12:23:31Z","updated_at":"2015-07-22T12:23:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bordozer/totalizator/pulls/7/commits","review_comments_url":"https://api.github.com/repos/bordozer/totalizator/pulls/7/comments","review_comment_url":"https://api.github.com/repos/bordozer/totalizator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bordozer/totalizator/issues/7/comments","statuses_url":"https://api.github.com/repos/bordozer/totalizator/statuses/db404a54e6315eeadfd210d452d9c6cfc2545a69","head":{"label":"dimasmith:ci","ref":"ci","sha":"db404a54e6315eeadfd210d452d9c6cfc2545a69","user":{"login":"dimasmith","id":1268169,"avatar_url":"https://avatars.githubusercontent.com/u/1268169?v=3","gravatar_id":"","url":"https://api.github.com/users/dimasmith","html_url":"https://github.com/dimasmith","followers_url":"https://api.github.com/users/dimasmith/followers","following_url":"https://api.github.com/users/dimasmith/following{/other_user}","gists_url":"https://api.github.com/users/dimasmith/gists{/gist_id}","starred_url":"https://api.github.com/users/dimasmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimasmith/subscriptions","organizations_url":"https://api.github.com/users/dimasmith/orgs","repos_url":"https://api.github.com/users/dimasmith/repos","events_url":"https://api.github.com/users/dimasmith/events{/privacy}","received_events_url":"https://api.github.com/users/dimasmith/received_events","type":"User","site_admin":false},"repo":{"id":38814875,"name":"totalizator","full_name":"dimasmith/totalizator","owner":{"login":"dimasmith","id":1268169,"avatar_url":"https://avatars.githubusercontent.com/u/1268169?v=3","gravatar_id":"","url":"https://api.github.com/users/dimasmith","html_url":"https://github.com/dimasmith","followers_url":"https://api.github.com/users/dimasmith/followers","following_url":"https://api.github.com/users/dimasmith/following{/other_user}","gists_url":"https://api.github.com/users/dimasmith/gists{/gist_id}","starred_url":"https://api.github.com/users/dimasmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimasmith/subscriptions","organizations_url":"https://api.github.com/users/dimasmith/orgs","repos_url":"https://api.github.com/users/dimasmith/repos","events_url":"https://api.github.com/users/dimasmith/events{/privacy}","received_events_url":"https://api.github.com/users/dimasmith/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dimasmith/totalizator","description":"totalizator portfolio project","fork":true,"url":"https://api.github.com/repos/dimasmith/totalizator","forks_url":"https://api.github.com/repos/dimasmith/totalizator/forks","keys_url":"https://api.github.com/repos/dimasmith/totalizator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dimasmith/totalizator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dimasmith/totalizator/teams","hooks_url":"https://api.github.com/repos/dimasmith/totalizator/hooks","issue_events_url":"https://api.github.com/repos/dimasmith/totalizator/issues/events{/number}","events_url":"https://api.github.com/repos/dimasmith/totalizator/events","assignees_url":"https://api.github.com/repos/dimasmith/totalizator/assignees{/user}","branches_url":"https://api.github.com/repos/dimasmith/totalizator/branches{/branch}","tags_url":"https://api.github.com/repos/dimasmith/totalizator/tags","blobs_url":"https://api.github.com/repos/dimasmith/totalizator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dimasmith/totalizator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dimasmith/totalizator/git/refs{/sha}","trees_url":"https://api.github.com/repos/dimasmith/totalizator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dimasmith/totalizator/statuses/{sha}","languages_url":"https://api.github.com/repos/dimasmith/totalizator/languages","stargazers_url":"https://api.github.com/repos/dimasmith/totalizator/stargazers","contributors_url":"https://api.github.com/repos/dimasmith/totalizator/contributors","subscribers_url":"https://api.github.com/repos/dimasmith/totalizator/subscribers","subscription_url":"https://api.github.com/repos/dimasmith/totalizator/subscription","commits_url":"https://api.github.com/repos/dimasmith/totalizator/commits{/sha}","git_commits_url":"https://api.github.com/repos/dimasmith/totalizator/git/commits{/sha}","comments_url":"https://api.github.com/repos/dimasmith/totalizator/comments{/number}","issue_comment_url":"https://api.github.com/repos/dimasmith/totalizator/issues/comments{/number}","contents_url":"https://api.github.com/repos/dimasmith/totalizator/contents/{+path}","compare_url":"https://api.github.com/repos/dimasmith/totalizator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dimasmith/totalizator/merges","archive_url":"https://api.github.com/repos/dimasmith/totalizator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dimasmith/totalizator/downloads","issues_url":"https://api.github.com/repos/dimasmith/totalizator/issues{/number}","pulls_url":"https://api.github.com/repos/dimasmith/totalizator/pulls{/number}","milestones_url":"https://api.github.com/repos/dimasmith/totalizator/milestones{/number}","notifications_url":"https://api.github.com/repos/dimasmith/totalizator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dimasmith/totalizator/labels{/name}","releases_url":"https://api.github.com/repos/dimasmith/totalizator/releases{/id}","created_at":"2015-07-09T10:48:57Z","updated_at":"2015-07-09T10:49:00Z","pushed_at":"2015-07-22T11:57:13Z","git_url":"git://github.com/dimasmith/totalizator.git","ssh_url":"git@github.com:dimasmith/totalizator.git","clone_url":"https://github.com/dimasmith/totalizator.git","svn_url":"https://github.com/dimasmith/totalizator","homepage":null,"size":35011,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"bordozer:master","ref":"master","sha":"7392f0a0d3c9acf8e1fed2e595876d8a6e74c1da","user":{"login":"bordozer","id":11032280,"avatar_url":"https://avatars.githubusercontent.com/u/11032280?v=3","gravatar_id":"","url":"https://api.github.com/users/bordozer","html_url":"https://github.com/bordozer","followers_url":"https://api.github.com/users/bordozer/followers","following_url":"https://api.github.com/users/bordozer/following{/other_user}","gists_url":"https://api.github.com/users/bordozer/gists{/gist_id}","starred_url":"https://api.github.com/users/bordozer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bordozer/subscriptions","organizations_url":"https://api.github.com/users/bordozer/orgs","repos_url":"https://api.github.com/users/bordozer/repos","events_url":"https://api.github.com/users/bordozer/events{/privacy}","received_events_url":"https://api.github.com/users/bordozer/received_events","type":"User","site_admin":false},"repo":{"id":30876808,"name":"totalizator","full_name":"bordozer/totalizator","owner":{"login":"bordozer","id":11032280,"avatar_url":"https://avatars.githubusercontent.com/u/11032280?v=3","gravatar_id":"","url":"https://api.github.com/users/bordozer","html_url":"https://github.com/bordozer","followers_url":"https://api.github.com/users/bordozer/followers","following_url":"https://api.github.com/users/bordozer/following{/other_user}","gists_url":"https://api.github.com/users/bordozer/gists{/gist_id}","starred_url":"https://api.github.com/users/bordozer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bordozer/subscriptions","organizations_url":"https://api.github.com/users/bordozer/orgs","repos_url":"https://api.github.com/users/bordozer/repos","events_url":"https://api.github.com/users/bordozer/events{/privacy}","received_events_url":"https://api.github.com/users/bordozer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bordozer/totalizator","description":"totalizator portfolio project","fork":false,"url":"https://api.github.com/repos/bordozer/totalizator","forks_url":"https://api.github.com/repos/bordozer/totalizator/forks","keys_url":"https://api.github.com/repos/bordozer/totalizator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bordozer/totalizator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bordozer/totalizator/teams","hooks_url":"https://api.github.com/repos/bordozer/totalizator/hooks","issue_events_url":"https://api.github.com/repos/bordozer/totalizator/issues/events{/number}","events_url":"https://api.github.com/repos/bordozer/totalizator/events","assignees_url":"https://api.github.com/repos/bordozer/totalizator/assignees{/user}","branches_url":"https://api.github.com/repos/bordozer/totalizator/branches{/branch}","tags_url":"https://api.github.com/repos/bordozer/totalizator/tags","blobs_url":"https://api.github.com/repos/bordozer/totalizator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bordozer/totalizator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bordozer/totalizator/git/refs{/sha}","trees_url":"https://api.github.com/repos/bordozer/totalizator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bordozer/totalizator/statuses/{sha}","languages_url":"https://api.github.com/repos/bordozer/totalizator/languages","stargazers_url":"https://api.github.com/repos/bordozer/totalizator/stargazers","contributors_url":"https://api.github.com/repos/bordozer/totalizator/contributors","subscribers_url":"https://api.github.com/repos/bordozer/totalizator/subscribers","subscription_url":"https://api.github.com/repos/bordozer/totalizator/subscription","commits_url":"https://api.github.com/repos/bordozer/totalizator/commits{/sha}","git_commits_url":"https://api.github.com/repos/bordozer/totalizator/git/commits{/sha}","comments_url":"https://api.github.com/repos/bordozer/totalizator/comments{/number}","issue_comment_url":"https://api.github.com/repos/bordozer/totalizator/issues/comments{/number}","contents_url":"https://api.github.com/repos/bordozer/totalizator/contents/{+path}","compare_url":"https://api.github.com/repos/bordozer/totalizator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bordozer/totalizator/merges","archive_url":"https://api.github.com/repos/bordozer/totalizator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bordozer/totalizator/downloads","issues_url":"https://api.github.com/repos/bordozer/totalizator/issues{/number}","pulls_url":"https://api.github.com/repos/bordozer/totalizator/pulls{/number}","milestones_url":"https://api.github.com/repos/bordozer/totalizator/milestones{/number}","notifications_url":"https://api.github.com/repos/bordozer/totalizator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bordozer/totalizator/labels{/name}","releases_url":"https://api.github.com/repos/bordozer/totalizator/releases{/id}","created_at":"2015-02-16T16:27:34Z","updated_at":"2015-05-08T15:07:37Z","pushed_at":"2015-07-22T12:23:31Z","git_url":"git://github.com/bordozer/totalizator.git","ssh_url":"git@github.com:bordozer/totalizator.git","clone_url":"https://github.com/bordozer/totalizator.git","svn_url":"https://github.com/bordozer/totalizator","homepage":null,"size":35963,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bordozer/totalizator/pulls/7"},"html":{"href":"https://github.com/bordozer/totalizator/pull/7"},"issue":{"href":"https://api.github.com/repos/bordozer/totalizator/issues/7"},"comments":{"href":"https://api.github.com/repos/bordozer/totalizator/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/bordozer/totalizator/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/bordozer/totalizator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bordozer/totalizator/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/bordozer/totalizator/statuses/db404a54e6315eeadfd210d452d9c6cfc2545a69"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":3,"deletions":0,"changed_files":1}}