From 4a01dbdb06c2712cdee348fede60f4ad7c86cd94 Mon Sep 17 00:00:00 2001 From: John Hood Date: Thu, 24 Sep 2015 12:44:25 -0400 Subject: [PATCH] .travis.yml: add OS X build, APT caching --- .travis.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.travis.yml b/.travis.yml index 96f4cc9..c153184 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,10 @@ +os: + - linux + - osx + +cache: + - apt + language: cpp sudo: required services: docker @@ -10,6 +17,9 @@ addons: - libutempter-dev before_install: + - if test "$TRAVIS_OS_NAME" = osx; then brew update; fi + - if test "$TRAVIS_OS_NAME" = osx; then brew install protobuf tmux; fi + - if test "$TRAVIS_OS_NAME" = osx; then brew outdated protobuf tmux || brew upgrade protobuf tmux; fi - git fetch --tags --unshallow script: