Trying Travis badge hack.

This commit is contained in:
redtide 2019-09-18 10:12:32 +02:00 committed by paulfd
parent 658d7933dc
commit af8acd77b0
2 changed files with 14 additions and 1 deletions

View file

@ -1,5 +1,9 @@
language: cpp
env:
- BADGE=linux
- BADGE=macos
matrix:
include:
- os: linux
@ -17,6 +21,14 @@ matrix:
- os: osx
osx_image: xcode10.1
# Hack to get some OS-specific badges
exclude:
- os: osx
env: BADGE=linux
- os: linux
env: BADGE=macos
before_install:
- sh ${TRAVIS_BUILD_DIR}/.travis/before_install.sh

View file

@ -1,6 +1,7 @@
# sfizz
[![Travis](https://img.shields.io/travis/com/sfztools/sfizz.svg?label=Linux-macOS&style=popout&logo=travis)](https://travis-ci.com/sfztools/sfizz)
[![Travis Linux Build Status](https://img.shields.io/travis/com/sfztools/sfizz.svg?env=BADGE=linux&label=Linux&style=popout&logo=travis)](https://travis-ci.com/sfztools/sfizz)
[![Travis macOS Build Status](https://img.shields.io/travis/com/sfztools/sfizz.svg?env=BADGE=macos&label=macOS&style=popout&logo=travis)](https://travis-ci.com/sfztools/sfizz)
## Building