adafruit / Adafruit_BMP085_Unified

Unified sensor driver for Adafruit's BMP085 & BMP180 breakouts
93 stars 60 forks source link

Continuous Integration using @PlatformIO and @travis-ci #16

Closed ivankravets closed 8 years ago

ivankravets commented 8 years ago

Hi,

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 practice which is intended to detect integration bugs 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:

You can add badge with build status to your README

Markdown

[![Build Status](https://travis-ci.org/adafruit/Adafruit_BMP085_Unified.svg?branch=master)](https://travis-ci.org/adafruit/Adafruit_BMP085_Unified)

RST

.. image:: https://travis-ci.org/adafruit/Adafruit_BMP085_Unified.svg?branch=master
    :target: https://travis-ci.org/adafruit/Adafruit_BMP085_Unified

Examples

Regards, Ivan Kravets

toddtreece commented 8 years ago

@ivankravets thanks for the pull request, but we currently have the ability to run travis ci with the arduino IDE and this helper script: https://github.com/adafruit/travis-ci-arduino

ivankravets commented 8 years ago

@toddtreece thanks for this script https://github.com/adafruit/travis-ci-arduino/blob/master/install.sh . It looks really simple and developers can test own libraries using popular OS(including Windows and Linux ARM+) before pushing to GitHub.