Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

example travis yaml #25

Open
jacobrosenthal opened this issue Feb 11, 2015 · 3 comments
Open

example travis yaml #25

jacobrosenthal opened this issue Feb 11, 2015 · 3 comments

Comments

@jacobrosenthal
Copy link

Leo is looking pretty good, especially with ino as stale as it is these days.

I Really think travis builds are the gateway to leo usage. Make a really easy yaml file they dont even have to edit and they get tests for free. Then PR a bunch of libraries with it. At some point theyll need dependencies and will wonder why they can't also just npm those as well :)

Ive got something basic up.
https://github.com/jacobrosenthal/NullStream/blob/master/.travis.yml

But because we need such a strict structure I have to do a lot of work in a bash script to make it work
https://github.com/jacobrosenthal/NullStream/blob/master/initexamples.sh

Thoughts?

@AdamMagaluk
Copy link
Owner

Thanks. There's more too come in the near(ish) future with better board/platform support.

This is great thinking and could definitely help the overall Arduino community. Really no one uses CI in that space. Ill put some thought into it and see if there is something we can do to avoid the init script that shuffles things around.

@jacobrosenthal
Copy link
Author

If you're interested I just found and Im trying to put PRs on an arduino mock built for google test. That will let us unit test as well.
https://github.com/ikeyasu/arduino-mock
https://github.com/ikeyasu/arduino-gmock-sample

Package management, unit testing and ci basically wraps up most of whats wrong with embedded.

@jacobrosenthal
Copy link
Author

With arduino cli this is really rather easy now and maybe not worth any kind of refactor on your part
http://citizengadget.com/post/115195131742/automated-build-testing-for-arduino-libraries

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants