2015-12-10 23:16:37 +01:00
|
|
|
sudo: false
|
|
|
|
|
2014-03-21 21:25:44 +01:00
|
|
|
language: c
|
2015-12-10 23:16:37 +01:00
|
|
|
|
2014-03-21 21:25:44 +01:00
|
|
|
compiler:
|
|
|
|
- gcc
|
|
|
|
- clang
|
2015-12-10 23:16:37 +01:00
|
|
|
|
2016-02-20 23:05:34 +01:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
- develop
|
|
|
|
|
2015-12-10 23:16:37 +01:00
|
|
|
env:
|
|
|
|
- RUNTIME=libicu
|
|
|
|
- RUNTIME=libidn2
|
|
|
|
- RUNTIME=libidn
|
2015-12-25 19:40:24 +01:00
|
|
|
- RUNTIME=no
|
2015-12-10 23:16:37 +01:00
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- automake
|
|
|
|
- autoconf
|
|
|
|
- autopoint
|
|
|
|
- libtool
|
|
|
|
- gtk-doc-tools
|
|
|
|
- gettext
|
|
|
|
- libidn11
|
|
|
|
- libidn11-dev
|
|
|
|
- libidn2-0
|
|
|
|
- libidn2-0-dev
|
|
|
|
- libicu48
|
|
|
|
- libicu-dev
|
|
|
|
- libunistring0
|
|
|
|
- libunistring-dev
|
2016-09-27 11:48:27 +02:00
|
|
|
- lcov
|
2015-12-10 23:16:37 +01:00
|
|
|
|
2014-06-19 13:17:28 +02:00
|
|
|
script:
|
|
|
|
- ./autogen.sh
|
2014-06-19 15:26:00 +02:00
|
|
|
- ./configure && make -j4 && make check -j4
|
2015-12-10 23:16:37 +01:00
|
|
|
- ./configure --enable-runtime=$RUNTIME --enable-builtin=libicu && make clean && make -j4 && make check -j4
|
|
|
|
- ./configure --enable-runtime=$RUNTIME --enable-builtin=libidn2 && make clean && make -j4 && make check -j4
|
|
|
|
- ./configure --enable-runtime=$RUNTIME --enable-builtin=libidn && make clean && make -j4 && make check -j4
|
|
|
|
- ./configure --enable-runtime=$RUNTIME --disable-builtin && make clean && make -j4 && make check -j4
|
2014-06-19 15:26:00 +02:00
|
|
|
- ./configure --enable-gtk-doc && make -j4 && make check -j4
|
2014-06-19 13:17:28 +02:00
|
|
|
- make distcheck
|
2016-09-27 11:48:27 +02:00
|
|
|
- if [[ $CC == "gcc" && $RUNTIME == "libicu" ]]; then ./.travis_coveralls.sh; fi
|