libpsl/.travis.yml

52 lines
1.5 KiB
YAML
Raw Normal View History

2015-12-10 23:16:37 +01:00
sudo: false
dist: trusty
2015-12-10 23:16:37 +01:00
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-3.8
2015-12-10 23:16:37 +01:00
branches:
only:
- master
2015-12-10 23:16:37 +01:00
env:
- RUNTIME=libicu
- RUNTIME=libidn2
- RUNTIME=libidn
- RUNTIME=no
2015-12-10 23:16:37 +01:00
addons:
apt:
packages:
- automake
- autoconf
- autopoint
- libtool
- gtk-doc-tools
- gettext
- libidn11-dev
- libidn2-0-dev
- libicu-dev
- libunistring-dev
- lcov
- clang-3.8
- llvm-3.8-dev
- llvm-dev
2015-12-10 23:16:37 +01:00
2014-06-19 13:17:28 +02:00
script:
- ./autogen.sh
# CFI doesn't work out on Ubuntu 14.04 (Trusty). They dont't include LLVMgold.so for clang-3.8.
# clang-3.4 doesn't know CFI yet.
# The only chance with Travis-CI is to switch to docker and use Ubuntu 16.04 or whatever.
# - if [[ $CC == "gcc" ]]; then CFI=""; else CFI="--enable-cfi"; fi
2017-06-20 16:50:41 +02:00
- ./configure $CFI --enable-asan && make -j4 && make check -j4
- ./configure $CFI --enable-runtime=$RUNTIME --enable-builtin=libicu --enable-asan && make clean && make -j4 && make check -j4
- ./configure $CFI --enable-runtime=$RUNTIME --enable-builtin=libidn2 --enable-asan && make clean && make -j4 && make check -j4
- ./configure $CFI --enable-runtime=$RUNTIME --enable-builtin=libidn --enable-asan && make clean && make -j4 && make check -j4
- ./configure $CFI --enable-runtime=$RUNTIME --disable-builtin --enable-asan && make clean && make -j4 && make check -j4
- ./configure --enable-gtk-doc && make clean && make -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