Skip to content

Commit

Permalink
Added OS X in .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
corna committed Apr 25, 2016
1 parent 70ba491 commit 2c99450
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ compiler:
- gcc
- clang

os: linux
os:
- linux
- osx

addons:
apt:
Expand All @@ -19,8 +21,12 @@ addons:
- libgtkmm-2.4-dev
- gerbv

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

install:
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ] && [ "$CXX" == "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi

script:
- "autoreconf -i"
Expand Down

0 comments on commit 2c99450

Please sign in to comment.