1 # Travis CI configuration file
7 # Install autopoint on Ubuntu (needed for gettext)
22 # Ensure brew gettext is in the PATH so autopoint is found on OS X
23 - PATH="$PATH:/usr/local/opt/gettext/bin" autoreconf -sivf
24 - if [ "$CONFIG" = "normal" ] ; then CFLAGS='-Wall -Wextra -O3'; fi
25 - if [ "$CONFIG" = "c90" ] ; then CFLAGS='-std=iso9899:1990 -D_XOPEN_SOURCE=500 -Wall -Wextra -O3'; fi
26 - if [ "$CONFIG" = "stackprotect" ] ; then CFLAGS='-g -O0 -fstack-protector-all'; fi
27 - ./configure --prefix="${HOME}" CFLAGS="$CFLAGS" || { tail -300 config.log; false; }