Skip to content

Commit 2ebe999

Browse files
stephengroattdaede
authored andcommitted
add osx to travis
1 parent 9982122 commit 2ebe999

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

.travis.yml

+9-8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
language: c
22

3+
os:
4+
- linux
5+
- osx
6+
37
compiler:
48
- gcc
59
- clang
@@ -13,12 +17,9 @@ addons:
1317
packages:
1418
- libogg-dev
1519

20+
install:
21+
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update && brew bundle; fi
22+
1623
script:
17-
- if [[ "$BUILD_SYSTEM" == "AUTOTOOLS" ]] ; then ./autogen.sh ; fi
18-
- if [[ "$BUILD_SYSTEM" == "AUTOTOOLS" ]] ; then ./configure ; fi
19-
- if [[ "$BUILD_SYSTEM" == "AUTOTOOLS" ]] ; then make -j2 V=1 distcheck ; fi
20-
- if [[ "$BUILD_SYSTEM" == "CMAKE" ]] ; then mkdir build ; fi
21-
- if [[ "$BUILD_SYSTEM" == "CMAKE" ]] ; then pushd build ; fi
22-
- if [[ "$BUILD_SYSTEM" == "CMAKE" ]] ; then cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release .. ; fi
23-
- if [[ "$BUILD_SYSTEM" == "CMAKE" ]] ; then cmake --build . ; fi
24-
- if [[ "$BUILD_SYSTEM" == "CMAKE" ]] ; then popd ; fi
24+
- if [[ "$BUILD_SYSTEM" == "AUTOTOOLS" ]] ; then ./autogen.sh && ./configure && make -j2 V=1 distcheck; fi
25+
- if [[ "$BUILD_SYSTEM" == "CMAKE" ]] ; then mkdir build && pushd build && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release .. && cmake --build . && popd; fi

Brewfile

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
brew 'doxygen'
2+
brew 'libogg'
3+
brew 'xz'

0 commit comments

Comments
 (0)