Skip to content

Template for a CI-enabled (and unit testable) Arduino project

License

Notifications You must be signed in to change notification settings

ianfixes/arduino-ci-unit-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arduino CI and Unit Tests HOWTO Build Status

This project is a template for a CI-enabled (and unit testable) Arduino project of your own.

Features

  • Travis CI
  • Development workflow matches CI workflow - the platformio ci line at the bottom of .travis.yml can be run on your local terminal (just append the name of the file you want to compile).

Where The Magic Happens

Here is the minimal set of files that you will need to adapt to your own project:

  • .travis.yml - You'll need to fill in the env section with files relevant to your project, and list out all the --boards under the script section.
  • platformio.ini - You'll need to add information for any architectures you plan to support.
  • library.properties - You'll need to update the architectures and includes lines as appropriate

Credits

This Arduino example was created in January 2018 by Ian Katz [email protected].

About

Template for a CI-enabled (and unit testable) Arduino project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published