diff --git a/.travis.yml b/.travis.yml index cb7ee35b5..bfcf631e2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,15 @@ language: c matrix: include: - name: linux-xenial-gcc + os: linux + env: HINTS=linux LUA_VERSION=5.3.5 + compiler: gcc + script: + - cd sys/unix/ && sh setup.sh hints/$HINTS && cd ../../ + - make fetch-lua + - test -d "lib/lua-$LUA_VERSION/src" || exit 0 + - make install + - name: linux-nocommon-xenial-gcc os: linux env: HINTS=linux-travis LUA_VERSION=5.3.5 compiler: gcc diff --git a/sys/unix/hints/linux-travis b/sys/unix/hints/linux-travis index fbd35e453..53adfdf1e 100644 --- a/sys/unix/hints/linux-travis +++ b/sys/unix/hints/linux-travis @@ -35,6 +35,11 @@ CFLAGS+=-DCURSES_GRAPHICS #CFLAGS+=-DMSGHANDLER #CFLAGS+=-DTTY_TILES_ESCCODES +# when building liblua.a, avoid warning that use of tmpnam() should be +# replaced by mkstemp(); the lua code doesn't use nethack's config.h so +# this needs to be passed via make rather than defined in unixconf.h +SYSCFLAGS=-DLUA_USE_POSIX + LINK=$(CC) # Only needed for GLIBC stack trace: LFLAGS=-rdynamic