Skip to content

Commit 25fb40c

Browse files
uaelhnes
authored andcommitted
add MacOS build matrix support in .travis.yml.
a part of PR #13 by Lucas Abel <lucas.abel@yandex.com> Reviewed by Sen Han <00hnes@gmail.com>
1 parent 09b40f3 commit 25fb40c

File tree

1 file changed

+23
-4
lines changed

1 file changed

+23
-4
lines changed

.travis.yml

+23-4
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ notifications:
77

88
language: c
99

10-
compiler:
11-
- gcc
12-
- clang
13-
1410
script:
1511
- echo $TRAVIS_EVENT_TYPE
1612
- echo $TRAVIS_OS_NAME
@@ -29,3 +25,26 @@ script:
2925
- echo ""
3026
- 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
3127
- echo "" ; date
28+
29+
matrix:
30+
include:
31+
- os: linux
32+
compiler: gcc-4.9
33+
addons:
34+
apt:
35+
sources:
36+
- ubuntu-toolchain-r-test
37+
packages:
38+
- gcc-4.9
39+
- os: linux
40+
compiler: clang-3.5
41+
addons:
42+
apt:
43+
sources:
44+
- ubuntu-toolchain-r-test
45+
- llvm-toolchain-trusty-3.5
46+
packages:
47+
- clang-3.5
48+
- os: osx
49+
osx_image: xcode8.3
50+
compiler: clang

0 commit comments

Comments
 (0)