arduino-libraries / SD

SD Library for Arduino
http://arduino.cc/
GNU General Public License v3.0
182 stars 154 forks source link

Use Travis CI for automated testing #64

Closed per1234 closed 5 years ago

per1234 commented 5 years ago

Travis CI is used to run the following tests on the repository after every commit or pull request:

Although it is not presently needed, I added an empty file: extras/codespell-ignore-words-list.txt. This file is to be used in case of false positives during the check for commonly misspelled words (all words in the file are ignored by codespell). My idea was that having the ignore system already in place would reduce the amount of hassle in the event of a false positive. If it is not considered desirable to add this file before it's needed, I'm happy to remove it from this PR.

I used the following files as a reference for this PR:

per1234 commented 5 years ago

As a volunteer project, I prepared a demonstration of how I would configure Travis CI were this my own repository.

Example Travis CI build: https://travis-ci.org/per1234/SD/builds/531357867

.travis.yml: https://github.com/per1234/SD/blob/travis-ci-alternate/.travis.yml

Features:

I thought this might provide some ideas for enhancements to Arduino's Travis CI configuration. I'd be happy to add any of the above individual features to this PR.

per1234 commented 5 years ago

@lxrobotics I've added the requested build badge.

aentinger commented 5 years ago

@per1234 Great :+1: You are good to merge.