2015-12-31 01:58:07 +01:00
|
|
|
language: c
|
2015-12-31 18:21:52 +01:00
|
|
|
# Select Trusty Tahr.
|
|
|
|
sudo: required
|
|
|
|
dist: trusty
|
|
|
|
# Travis' git submodule support is ... broken? half-broken? Maybe intentional?
|
2015-12-31 02:06:40 +01:00
|
|
|
git:
|
|
|
|
submodules: false
|
|
|
|
depth: 3
|
|
|
|
before_install:
|
|
|
|
- git submodule update --init --recursive
|
|
|
|
- sudo apt-get update -qq
|
2015-12-31 18:26:54 +01:00
|
|
|
- sudo apt-get install -qq libssl-dev libgcrypt20-dev libpurple-dev libwebp-dev
|
2016-01-01 02:15:23 +01:00
|
|
|
script:
|
|
|
|
- ./configure $CONFIGURE_FLAGS
|
|
|
|
- make -j2
|
|
|
|
- make check
|
2017-04-12 00:51:40 +02:00
|
|
|
# Test both installation routines:
|
|
|
|
- sudo make install
|
|
|
|
- make local_install
|
2015-12-31 01:58:07 +01:00
|
|
|
compiler:
|
|
|
|
- clang
|
|
|
|
- gcc
|
2015-12-31 18:26:54 +01:00
|
|
|
env:
|
|
|
|
# Try to be nice to the builder
|
|
|
|
- CONFIGURE_FLAGS=""
|
|
|
|
- CONFIGURE_FLAGS="--disable-gcrypt"
|
|
|
|
- CONFIGURE_FLAGS=" --disable-libwebp"
|
|
|
|
# - CONFIGURE_FLAGS="--disable-gcrypt --disable-libwebp"
|
|
|
|
- CONFIGURE_FLAGS=" --disable-translation"
|
|
|
|
# - CONFIGURE_FLAGS="--disable-gcrypt --disable-translation"
|
|
|
|
# - CONFIGURE_FLAGS=" --disable-libwebp --disable-translation"
|
|
|
|
- CONFIGURE_FLAGS="--disable-gcrypt --disable-libwebp --disable-translation"
|
2016-01-01 02:35:10 +01:00
|
|
|
matrix:
|
|
|
|
# Be even nicer by excluding half of the combinations
|
|
|
|
exclude:
|
|
|
|
- compiler: clang
|
|
|
|
env: CONFIGURE_FLAGS=""
|
|
|
|
- compiler: gcc
|
|
|
|
env: CONFIGURE_FLAGS="--disable-gcrypt"
|
|
|
|
- compiler: clang
|
|
|
|
env: CONFIGURE_FLAGS=" --disable-libwebp"
|
|
|
|
# - compiler: XXX
|
|
|
|
# env: CONFIGURE_FLAGS="--disable-gcrypt --disable-libwebp"
|
|
|
|
- compiler: gcc
|
|
|
|
env: CONFIGURE_FLAGS=" --disable-translation"
|
|
|
|
# - compiler: clang
|
|
|
|
# env: CONFIGURE_FLAGS="--disable-gcrypt --disable-translation"
|
|
|
|
# - compiler: gcc
|
|
|
|
# env: CONFIGURE_FLAGS=" --disable-libwebp --disable-translation"
|
|
|
|
- compiler: clang
|
|
|
|
env: CONFIGURE_FLAGS="--disable-gcrypt --disable-libwebp --disable-translation"
|