1 # Travis CI configuration file
7 # Install autopoint on Ubuntu (needed for gettext)
14 # More configurations are configured in the matrix section
28 - llvm-toolchain-trusty-5.0
39 - ubuntu-toolchain-r-test
48 # Ensure brew gettext is in the PATH so autopoint is found on OS X
49 - PATH="$PATH:/usr/local/opt/gettext/bin" autoreconf -sivf
50 - if [ "$CONFIG" = "normal" ] ; then CFLAGS='-Wall -Wextra -O3'; fi
51 - if [ "$CONFIG" = "c90" ] ; then CFLAGS='-std=iso9899:1990 -D_XOPEN_SOURCE=500 -Wall -Wextra -O3'; fi
52 - if [ "$CONFIG" = "stackprotect" ] ; then CFLAGS='-g -O0 -fstack-protector-all'; fi
53 - if [ "$CONFIG" = "clang5" ] ; then CFLAGS='-Wall -Wextra -O3'; export CC=clang-5.0; fi
54 - if [ "$CONFIG" = "gcc7" ] ; then CFLAGS='-Wall -Wextra -O3'; export export CC=gcc-7; fi
55 - ./configure --prefix="${HOME}" CFLAGS="$CFLAGS" || { tail -300 config.log; false; }