Add AppVeyor build status badge.
[platform/upstream/libvorbis.git] / .travis.yml
1 language: c
2
3 compiler:
4   - gcc
5   - clang
6
7 env:
8   - BUILD_SYSTEM=AUTOTOOLS
9   - BUILD_SYSTEM=CMAKE
10
11 addons:
12   apt:
13     packages:
14     - libogg-dev
15
16 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