summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Roskin <plroskin@gmail.com>2016-12-24 14:28:14 -0800
committerPavel Roskin <plroskin@gmail.com>2017-01-06 11:24:10 -0800
commitdb098a98b9b561bd6fd23e27b82e2523c75ded88 (patch)
tree56af231b6f16accff11c67bca01cd0937ecb46cd
parent7b32fc864c6ad9bb4115d67165e4c31889c2ee01 (diff)
downloadxrdp-proprietary-db098a98b9b561bd6fd23e27b82e2523c75ded88.tar.gz
xrdp-proprietary-db098a98b9b561bd6fd23e27b82e2523c75ded88.zip
.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.
-rw-r--r--.travis.yml14
1 files 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