Ivan Kravets
|
fed597678b
|
Continuous Integration using @PlatformIO and @travis-ci
Hi @PaulStoffregen,
I see that your project contains the practical examples. All of us understand that it’s not easy to test them before each new commit to this repository. What is more, need to be sure that all of these examples are actual and compile without errors.
I propose to solve this task using [Continuous integration](https://en.wikipedia.org/wiki/Continuous_integration) practice which is intended to detect [integration bugs](https://en.wikipedia.org/wiki/Software_testing#Integration_testing) and save time over the lifespan of a project.
## How does it work?
The each new commit to this repository will be tested using existing examples with appropriate platforms/embedded boards. @PlatformIO is used here as cross-platform code builder and library manager in pair with @travis-ci (distributed continuous integration service).
## Quickstart
Please enable @travis-ci following the steps 1, 2 and 5 here http://docs.travis-ci.com/user/getting-started/#To-get-started-with-Travis-CI%3A
For more details please follow to:
* Official Travis CI Documentation for PlatformIO: https://docs.travis-ci.com/user/integration/platformio/
* PlatformIO documentation for Travis CI: http://docs.platformio.org/en/latest/ci/travis.html
## Status Badge
You can add [badge with build status](https://docs.travis-ci.com/user/status-images/) to your README
**Markdown**
```
[![Build Status](https://travis-ci.org/PaulStoffregen/Audio.svg?branch=master)](https://travis-ci.org/PaulStoffregen/Audio)
```
**RST**
```
.. image:: https://travis-ci.org/PaulStoffregen/Audio.svg?branch=master
:target: https://travis-ci.org/PaulStoffregen/Audio
```
## Examples
* Project [USB_Host_Shield_2.0](https://github.com/felis/USB_Host_Shield_2.0) [![Build Status](https://travis-ci.org/felis/USB_Host_Shield_2.0.svg?branch=master)](https://travis-ci.org/felis/USB_Host_Shield_2.0)
* Project [Arduino-IRremote](https://github.com/z3t0/Arduino-IRremote) [![Build Status](https://travis-ci.org/z3t0/Arduino-IRremote.svg?branch=master)](https://travis-ci.org/z3t0/Arduino-IRremote)
* Project [ethercard](https://github.com/jcw/ethercard) [![Build Status](https://travis-ci.org/jcw/ethercard.svg?branch=master)](https://travis-ci.org/jcw/ethercard)
|
9 лет назад |