adafruit/ci-arduino

Include/exclude tested sources

suculent opened this issue · 3 comments

I have private repository full of various .ino files, but only one folder (./src) is valid for testing. Or let's say I'd like to add ./test to have all the tests implemented there.
How do I exclude other files? Or how do I set build root?

Sorry for using GitHub for a FAQ.

hiya you'd probably need to adapt https://github.com/adafruit/travis-ci-arduino/blob/master/install.sh and make your own version!

Seems I've found a more straightforward solution to original question (a bit outside the box).
All it needs is to - cd ./src or - cd ./test in the CI script before running this build_main_platform script in order to divide code forks as needed...

great!