Skip to content

Commit

Permalink
add the osx build (xcode7.3, brew install cairo)
Browse files Browse the repository at this point in the history
  • Loading branch information
chearon committed Aug 1, 2016
1 parent 259d1b7 commit 7824617
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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'
Expand All @@ -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 [email protected]; fi
- npm explore npm -g -- npm install node-gyp@latest
sudo: false

0 comments on commit 7824617

Please sign in to comment.