From 54395dc8c733f4199957577cad6a3088d883504d Mon Sep 17 00:00:00 2001 From: Stephen Date: Sun, 8 Oct 2017 14:12:40 -0700 Subject: [PATCH] get better coverage from travis --- .travis.yml | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index f275da7..dcffe14 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,9 +2,31 @@ language: c -os: linux +os: + - linux + - osx + +addons: + apt: + packages: + - autotools-dev + - libreadline-dev + - libncursesw5-dev -compiler: gcc +compiler: + - gcc + - clang + +matrix: + include: + - if: branch = master + compiler: gcc + os: osx + script: brew install --HEAD jq && brew test jq + - if: branch = master + compiler: clang + os: osx + script: brew install --HEAD jq && brew test jq notifications: email: @@ -12,10 +34,6 @@ notifications: on_failure: change before_install: - - sudo apt-get update -qq - - sudo apt-get install -qq autotools-dev libreadline-dev libncursesw5-dev - aclocal - automake --force-missing --add-missing - autoconf - -# eof