From 782461794aef7858f64a229aee784f0a429bac79 Mon Sep 17 00:00:00 2001 From: Caleb Hearon Date: Fri, 15 Jul 2016 06:50:50 -0400 Subject: [PATCH] add the osx build (xcode7.3, brew install cairo) --- .travis.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.travis.yml b/.travis.yml index 7ea091cbd..2b2cb92b4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,11 @@ language: node_js +os: + - linux + - osx +osx_image: xcode7.3 # has everything we need but cairo +cache: + directories: + - ~/HomebrewCache node_js: - '6' - '4' @@ -18,6 +25,7 @@ addons: env: - CXX=g++-4.9 before_install: + - if [[ $TRAVIS_OS_NAME == 'osx' ]]; then export HOMEBREW_CACHE=~/HomebrewCache; brew update && brew install cairo; fi - if [[ $TRAVIS_NODE_VERSION == 0.8 ]]; then npm install -g npm@1.4.28; fi - npm explore npm -g -- npm install node-gyp@latest sudo: false