mcci-catena / arduino-lmic

LoraWAN-MAC-in-C library, adapted to run under the Arduino environment
https://forum.mcci.io/c/device-software/arduino-lmic/
MIT License
636 stars 207 forks source link

running the tests locally #469

Open FlorianLudwig opened 4 years ago

FlorianLudwig commented 4 years ago

I am looking for a way to run the tests locally. It seems there are two ways to do so:

  1. Copy the code from .travis-ci.yml into a bash script and run it
  2. Use travis-build to generate a bash script based on the .travis-ci.yml and run that

I started with the first option but it is a bit tedious. I thought about moving some code out of the .travis-ci.yml into bash scripts and including them in the .travis-ci.yml to make it easier to use them outside of travis. Would a merge request for that be welcomed?

The second option I am looking into next.

terrillmoore commented 4 years ago

It would be great to move the code into a bash script. There are some Arduino CI bash scripts -- no reference handy, but a web search will quickly reveal them, I think. I grabbed code from one, and (for mcci-catena's use) I was hoping to adapt, but haven't gotten around to it. It is a tedious job, as you say... but contributions are welcome.