summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorRobert Kausch <robert.kausch@freac.org>2018-05-20 12:00:16 +0200
committerErik de Castro Lopo <erikd@mega-nerd.com>2018-05-21 10:51:20 +1000
commit0db0e878b8c7eb09f9f42fb39ca43b7cbc5e8aca (patch)
tree22e437411a633b228573dd3cd3004c56eb769721 /.travis.yml
parentc2673dafb1677a731604096934abe69d7495d6ea (diff)
downloadflac-0db0e878b8c7eb09f9f42fb39ca43b7cbc5e8aca.tar.gz
.travis.yml: Simplify file structure and add libogg dependency.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml36
1 files changed, 12 insertions, 24 deletions
diff --git a/.travis.yml b/.travis.yml
index e1fbd40b..b2af50be 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,32 +1,20 @@
language: c
-matrix:
- include:
- - os: linux
- compiler: gcc
- - os: linux
- compiler: clang
+os:
+ - linux
+ - osx
- - os: osx
- compiler: gcc
+compiler:
+ - gcc
+ - clang
- - os: osx
- compiler: clang
+env:
+ -
+ - CONFIGURE_OPTS=--enable-64-bit-words
- - os: linux
- compiler: gcc
- env: CONFIGURE_OPTS=--enable-64-bit-words
+install:
+ - if [ $TRAVIS_OS_NAME = linux ]; then sudo apt-get -y install libogg-dev; fi
+ - if [ $TRAVIS_OS_NAME = osx ]; then brew install libogg; fi
- - os: linux
- compiler: clang
- env: CONFIGURE_OPTS=--enable-64-bit-words
-
- - os: osx
- compiler: gcc
- env: CONFIGURE_OPTS=--enable-64-bit-words
-
- - os: osx
- compiler: clang
- env: CONFIGURE_OPTS=--enable-64-bit-words
script:
- ./autogen.sh && ./configure $CONFIGURE_OPTS && make && make check