Add BUILD_SYSTEM env variable to Travis-CI build matrix
[platform/upstream/libvorbis.git] / .travis.yml
1 language: c
2
3 compiler:
4   - gcc
5   - clang
6
7 env:
8   - BUILD_SYSTEM=AUTOTOOLS
9
10 addons:
11   apt:
12     packages:
13     - libogg-dev
14
15 script:
16   - if [[ "$BUILD_SYSTEM" == "AUTOTOOLS" ]] ; then ./autogen.sh ; fi
17   - if [[ "$BUILD_SYSTEM" == "AUTOTOOLS" ]] ; then ./configure ; fi
18   - if [[ "$BUILD_SYSTEM" == "AUTOTOOLS" ]] ; then make -j2 V=1 distcheck ; fi