Merge tag 'v1.3.7' into tizen
[platform/upstream/libvorbis.git] / .travis.yml
1 language: c
2
3 os:
4   - linux
5   - osx
6
7 osx_image: xcode11
8
9 compiler:
10   - gcc
11   - clang
12
13 env:
14   - BUILD_SYSTEM=AUTOTOOLS
15   - BUILD_SYSTEM=CMAKE
16
17 addons:
18   apt:
19     packages:
20     - libogg-dev
21   homebrew:
22     brewfile: true
23     update: true
24
25 script:
26   - if [[ "$BUILD_SYSTEM" == "AUTOTOOLS" ]] ; then ./autogen.sh && ./configure && make -j2 V=1 distcheck; fi
27   - if [[ "$BUILD_SYSTEM" == "CMAKE" ]] ; then mkdir build && pushd build && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release .. && cmake --build . && popd; fi