Skip to content

Commit

Permalink
add MacOS build matrix support in .travis.yml.
Browse files Browse the repository at this point in the history
a part of PR #13 by Lucas Abel <[email protected]>

Reviewed by Sen Han <[email protected]>
  • Loading branch information
uael authored and hnes committed Jul 24, 2018
1 parent 09b40f3 commit 25fb40c
Showing 1 changed file with 23 additions and 4 deletions.
27 changes: 23 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ notifications:

language: c

compiler:
- gcc
- clang

script:
- echo $TRAVIS_EVENT_TYPE
- echo $TRAVIS_OS_NAME
Expand All @@ -29,3 +25,26 @@ script:
- echo ""
- if [ "$TRAVIS_OS_NAME" = "linux" ] ; then mkdir output ; bash make.sh -o no-valgrind -o no-m32 ; ls output ; ls output | wc -l ; cd output ; bash ../test.sh ; cd .. ; rm -fr output; fi
- echo "" ; date

matrix:
include:
- os: linux
compiler: gcc-4.9
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.9
- os: linux
compiler: clang-3.5
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-trusty-3.5
packages:
- clang-3.5
- os: osx
osx_image: xcode8.3
compiler: clang

0 comments on commit 25fb40c

Please sign in to comment.