{"action":"created","issue":{"url":"https://api.github.com/repos/KevinOConnor/klipper/issues/158","repository_url":"https://api.github.com/repos/KevinOConnor/klipper","labels_url":"https://api.github.com/repos/KevinOConnor/klipper/issues/158/labels{/name}","comments_url":"https://api.github.com/repos/KevinOConnor/klipper/issues/158/comments","events_url":"https://api.github.com/repos/KevinOConnor/klipper/issues/158/events","html_url":"https://github.com/KevinOConnor/klipper/pull/158","id":293731734,"number":158,"title":"Add travis continuous integration for src/","user":{"login":"archi","id":152603,"avatar_url":"https://avatars1.githubusercontent.com/u/152603?v=4","gravatar_id":"","url":"https://api.github.com/users/archi","html_url":"https://github.com/archi","followers_url":"https://api.github.com/users/archi/followers","following_url":"https://api.github.com/users/archi/following{/other_user}","gists_url":"https://api.github.com/users/archi/gists{/gist_id}","starred_url":"https://api.github.com/users/archi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/archi/subscriptions","organizations_url":"https://api.github.com/users/archi/orgs","repos_url":"https://api.github.com/users/archi/repos","events_url":"https://api.github.com/users/archi/events{/privacy}","received_events_url":"https://api.github.com/users/archi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-02-02T00:23:21Z","updated_at":"2018-02-03T08:19:38Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/KevinOConnor/klipper/pulls/158","html_url":"https://github.com/KevinOConnor/klipper/pull/158","diff_url":"https://github.com/KevinOConnor/klipper/pull/158.diff","patch_url":"https://github.com/KevinOConnor/klipper/pull/158.patch"},"body":"This PR adds Travis-CI for the MCU code.\r\n\r\nThe CI builds targets atmega2560, atmega328, hostsimulator, linuxprocess and sam3x8e (all 250000bps and default clocks)\r\nI put their respective configuration files into 'test/configs/', more variants could be added.\r\n\r\nSince Travis uses Ubuntu 14.04 and their arm-none-eabi-gcc is virtually broken (no nano.specs), I added a mechanism to pull in an external GCC packages. Not nice, but does the job (I tried installing the correct gcc from a semi-official PPA, but that then conflicts with avr-gcc since both try to install a libcc; installing packages per-target is only possible via a hack, but then additional sourcelines/ppas are ignored; so I gave up and decided this to be most \"clean\" approach until the Travis people bump their Ubuntu version to something more recent).\r\nOn the bright side, this hack allows to add a pru-gcc and also built for beaglebone. I just don't want to build one now and figure out where to put it.\r\n\r\nResults look a lot like this:\r\nhttps://travis-ci.org/archi/klipper/builds/336354417\r\n\r\nThe fail for linuxprocess is caused by the linking klipper.elf step: Having -lutil before the actual object files causes the linker to discard the symbol `openpty`, which is later needed for linking. I didn't fix that for this PR since that's not the scope of the PR (hope that's okay?).\r\n\r\nFuture work:\r\n1. Add beaglebone (need to prebuild and put pru-gcc somewhere)\r\n2. Test the python stuff (I'm not a python dev, so maybe someone else should to do that?)\r\n3. Export build artifacts somewhere (where?) so people can just download them instead of having to build from source :)"},"comment":{"url":"https://api.github.com/repos/KevinOConnor/klipper/issues/comments/362789620","html_url":"https://github.com/KevinOConnor/klipper/pull/158#issuecomment-362789620","issue_url":"https://api.github.com/repos/KevinOConnor/klipper/issues/158","id":362789620,"user":{"login":"archi","id":152603,"avatar_url":"https://avatars1.githubusercontent.com/u/152603?v=4","gravatar_id":"","url":"https://api.github.com/users/archi","html_url":"https://github.com/archi","followers_url":"https://api.github.com/users/archi/followers","following_url":"https://api.github.com/users/archi/following{/other_user}","gists_url":"https://api.github.com/users/archi/gists{/gist_id}","starred_url":"https://api.github.com/users/archi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/archi/subscriptions","organizations_url":"https://api.github.com/users/archi/orgs","repos_url":"https://api.github.com/users/archi/repos","events_url":"https://api.github.com/users/archi/events{/privacy}","received_events_url":"https://api.github.com/users/archi/received_events","type":"User","site_admin":false},"created_at":"2018-02-03T08:19:38Z","updated_at":"2018-02-03T08:19:38Z","author_association":"NONE","body":"Travis-ci is free for open source projects, so you can just use it after registering at their site (uses your github login, so no new user/password). If you want to, I can link you to a tutorial later today ;)"}}
{"actor":{"display_login":"archi"}}