Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

Commit

Permalink
Travis: enable OSX build
Browse files Browse the repository at this point in the history
  • Loading branch information
jgarzik committed Sep 18, 2015
1 parent cd65a0b commit c6fc5ab
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ compiler:

os:
- linux
- osx

sudo: false

Expand All @@ -26,6 +27,14 @@ addons:
- libjansson-dev
- libevent-dev

before_install:
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update; fi

install:
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install jansson; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install libevent; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install argp-standalone; fi

before_script:
- if [ -n "$USE_SHELL" ]; then export CONFIG_SHELL="$USE_SHELL"; fi
- test -n "$USE_SHELL" && eval '"$USE_SHELL" -c "./autogen.sh"' || ./autogen.sh
Expand Down

0 comments on commit c6fc5ab

Please sign in to comment.