From db098a98b9b561bd6fd23e27b82e2523c75ded88 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Sat, 24 Dec 2016 14:28:14 -0800 Subject: [PATCH] .travis.yml: use -Werror, test two configurations - minimal and maximal Use separate entries for every command. Travis CI would still run the commands sequentially, and it would provide better annotation for the output. --- .travis.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index baf038ee..923e25a2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,9 +32,13 @@ addons: #- g++ #- xutils +env: + - CONF_FLAGS="" + - CONF_FLAGS="--enable-ipv6 --enable-jpeg --enable-fuse --enable-mp3lame + --enable-pixman --enable-rfxcodec --enable-painter" + script: - # disable librfxcodec as no remotefx for v0.9.1 release - #- (cd librfxcodec && ./bootstrap && ./configure && make) - - (./bootstrap && ./configure --enable-ipv6 --enable-jpeg --enable-fuse --enable-mp3lame --enable-pixman && make && make distcheck) - # disable x11rdp build as it takes long time and it is to be deprecated - #- (cd xorg/X11R7.6 && ./buildx.sh default) + - ./bootstrap + - ./configure $CONF_FLAGS + - make CFLAGS="-O2 -Wall -Wwrite-strings -Werror" + - make distcheck