Skip to content

Commit 1e5344b

Browse files
committed
try to get separate badges for Travis
1 parent 86df272 commit 1e5344b

File tree

2 files changed

+21
-3
lines changed

2 files changed

+21
-3
lines changed

.travis.yml

+12
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,18 @@ os:
55
- linux
66
- osx
77

8+
env:
9+
- BADGE=linux
10+
- BADGE=osx
11+
12+
# hack to get some OS-specific badges
13+
matrix:
14+
exclude:
15+
- os: linux
16+
env: BADGE=osx
17+
- os: osx
18+
env: BADGE=linux
19+
820
#before_install: gem install bundler -v 1.15.4
921
script:
1022
- g++ -v

README.md

+9-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
[![Gem Version](https://badge.fury.io/rb/arduino_ci.svg)](https://rubygems.org/gems/arduino_ci)
2-
[![Linux Build Status](https://travis-ci.org/ianfixes/arduino_ci.svg)](https://travis-ci.org/ianfixes/arduino_ci)
3-
[![Windows Build status](https://ci.appveyor.com/api/projects/status/8f6e39dea319m83q?svg=true)](https://ci.appveyor.com/project/ianfixes/arduino-ci)
42
[![Documentation](http://img.shields.io/badge/docs-rdoc.info-blue.svg)](http://www.rubydoc.info/gems/arduino_ci/0.1.9)
53

64
# ArduinoCI Ruby gem (`arduino_ci`)
75

8-
[Arduino CI](https://github.com/ianfixes/arduino_ci) is a Ruby gem for executing Continuous Integration (CI) tests on an Arduino library -- both locally and as part of a service like Travis CI.
6+
[Arduino CI](https://github.com/ianfixes/arduino_ci) is a cross-platform Ruby gem for executing Continuous Integration (CI) tests on an Arduino library -- both locally and as part of a service like Travis CI.
7+
8+
## Portability
9+
10+
Platform | CI Status
11+
---------|:---------
12+
OSX | [![OSX Build Status](http://badges.herokuapp.com/travis/ianfixes/arduino_ci?env=BADGE=osx&label=build&branch=master)](https://travis-ci.org/ianfixes/arduino_ci)
13+
Linux | [![Linux Build Status](http://badges.herokuapp.com/travis/ianfixes/arduino_ci?env=BADGE=linux&label=build&branch=master)](https://travis-ci.org/ianfixes/arduino_ci)
14+
Windows | [![Windows Build status](https://ci.appveyor.com/api/projects/status/8f6e39dea319m83q?svg=true)](https://ci.appveyor.com/project/ianfixes/arduino-ci)
915

1016

1117
## Installation In Your GitHub Project And Using Travis CI

0 commit comments

Comments
 (0)