{"action":"created","issue":{"url":"https://api.github.com/repos/GrammaticalFramework/GF/issues/14","repository_url":"https://api.github.com/repos/GrammaticalFramework/GF","labels_url":"https://api.github.com/repos/GrammaticalFramework/GF/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/GrammaticalFramework/GF/issues/14/comments","events_url":"https://api.github.com/repos/GrammaticalFramework/GF/issues/14/events","html_url":"https://github.com/GrammaticalFramework/GF/pull/14","id":255085692,"number":14,"title":"Add a Travis configuration for checking that new commits build correctly","user":{"login":"mbrock","id":8154,"avatar_url":"https://avatars3.githubusercontent.com/u/8154?v=4","gravatar_id":"","url":"https://api.github.com/users/mbrock","html_url":"https://github.com/mbrock","followers_url":"https://api.github.com/users/mbrock/followers","following_url":"https://api.github.com/users/mbrock/following{/other_user}","gists_url":"https://api.github.com/users/mbrock/gists{/gist_id}","starred_url":"https://api.github.com/users/mbrock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbrock/subscriptions","organizations_url":"https://api.github.com/users/mbrock/orgs","repos_url":"https://api.github.com/users/mbrock/repos","events_url":"https://api.github.com/users/mbrock/events{/privacy}","received_events_url":"https://api.github.com/users/mbrock/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-09-04T16:33:56Z","updated_at":"2018-04-18T21:30:27Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/GrammaticalFramework/GF/pulls/14","html_url":"https://github.com/GrammaticalFramework/GF/pull/14","diff_url":"https://github.com/GrammaticalFramework/GF/pull/14.diff","patch_url":"https://github.com/GrammaticalFramework/GF/pull/14.patch"},"body":"We briefly discussed this during the summer school.\r\n\r\nhttps://travis-ci.org\r\n\r\n> Testing your open source project is 10000% free. Seriously. Always. We like to think of it as our way of giving back to a community that gives us so much as well.\r\n\r\n> *Branch build flow.* You push your code to GitHub. GitHub triggers Travis CI to build. Hooray! Your build passes! Travis CI tells the team all is well (via Slack, optionally, or email, etc).\r\n\r\n> *Pull request build flow.* A pull request is created. GitHub tells Travis CI the build is mergeable. Hooray! Your build passes! Travis CI updates the PR that it passed. You merge in the PR goodness.\r\n\r\nAll of this will only be enabled once the Travis service is set up by someone in the GF team with the permissions to do so.\r\n\r\nBuild results will then be automatically visible on all new commits and pull requests.\r\n\r\nI do not run the GF test suite, because it seems to be in a failing state.  This can be enabled later.\r\n\r\nIf someone who is an admin of the GF GitHub decides to give this a try, they should\r\n\r\n  1. merge this pull request;\r\n  2. go to https://travis-ci.org;\r\n  3. log in with GitHub; and\r\n  4. add the GrammaticalFramework/GF repository.\r\n\r\nThen, when a new commit or pull request is made to GF, the build server will start to compile the new code, and after around 15 minutes of compiling, it will mark the commit or pull request as green or red.\r\n\r\nThere are configuration options in Travis for whether to build commits on branches other than `master`.\r\n\r\nAll of this is free of charge, because Travis donates their service for free to open source projects. There is a limit on the build time, but we do not seem to run into it.\r\n\r\nThe configuration uses Nix to install dependencies.  I first tried using just Cabal, but compiling all the dependencies takes too long for the free tier of Travis.  Nix doesn't compile Hackage dependencies because it has a \"binary cache\" with compiled versions of almost all Hackage packages."},"comment":{"url":"https://api.github.com/repos/GrammaticalFramework/GF/issues/comments/382535831","html_url":"https://github.com/GrammaticalFramework/GF/pull/14#issuecomment-382535831","issue_url":"https://api.github.com/repos/GrammaticalFramework/GF/issues/14","id":382535831,"user":{"login":"odanoburu","id":19347395,"avatar_url":"https://avatars1.githubusercontent.com/u/19347395?v=4","gravatar_id":"","url":"https://api.github.com/users/odanoburu","html_url":"https://github.com/odanoburu","followers_url":"https://api.github.com/users/odanoburu/followers","following_url":"https://api.github.com/users/odanoburu/following{/other_user}","gists_url":"https://api.github.com/users/odanoburu/gists{/gist_id}","starred_url":"https://api.github.com/users/odanoburu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odanoburu/subscriptions","organizations_url":"https://api.github.com/users/odanoburu/orgs","repos_url":"https://api.github.com/users/odanoburu/repos","events_url":"https://api.github.com/users/odanoburu/events{/privacy}","received_events_url":"https://api.github.com/users/odanoburu/received_events","type":"User","site_admin":false},"created_at":"2018-04-18T21:30:27Z","updated_at":"2018-04-18T21:30:27Z","author_association":"CONTRIBUTOR","body":"being discussed again in [gf-dev](https://groups.google.com/forum/#!msg/gf-dev/UtfxJjC4T70/5Mm4_8kaCgAJ).\r\n\r\n@mbrock from what I understand from your Nix build instructions (that is, very little) this is only testing the Haskell runtime build, right? that leaves us the APIs, the C runtime, etc. (Aarne Ranta lists it on his message) but it is still a great start!"}}
{"actor":{"display_login":"odanoburu"}}