Running automated unit tests on an Arduino library using Travis CI

Hmm, if I'm reading this right then you're talking about running hardware tests on the board itself. I don't think I can do that -- I strip out all the hardware-related functionality and provide software substitutes for it. Only the board constants get pulled in (#defines for comm port pins, those sort of things).