language: c matrix: include: - name: linux-xenial-gcc-win-all os: linux env: HINTS=linux.370 LUA_VERSION=5.4.6 compiler: gcc addons: apt: packages: - libx11-dev - libxaw7-dev - xfonts-utils - qtbase5-dev - qtmultimedia5-dev - qtbase5-dev-tools script: - cd sys/unix/ && sh setup.sh hints/$HINTS && cd ../../ - make fetch-lua LUA_VERSION=$LUA_VERSION - test -d "lib/lua-$LUA_VERSION/src" || exit 0 - make LUA_VERSION=$LUA_VERSION WANT_WIN_ALL=1 QT_SELECT=5 MOC=moc install - name: linux-bionic-gcc-win-all os: linux env: HINTS=linux.370 LUA_VERSION=5.4.6 dist: bionic compiler: gcc addons: apt: packages: - libx11-dev - libxaw7-dev - xfonts-utils - qtbase5-dev - qtmultimedia5-dev - qtbase5-dev-tools script: - cd sys/unix/ && sh setup.sh hints/$HINTS && cd ../../ - make fetch-lua LUA_VERSION=$LUA_VERSION - test -d "lib/lua-$LUA_VERSION/src" || exit 0 - make LUA_VERSION=$LUA_VERSION WANT_WIN_ALL=1 QT_SELECT=5 MOC=moc install - name: linux-focal-clang-win-all os: linux env: HINTS=linux.370 LUA_VERSION=5.4.6 dist: focal compiler: clang addons: apt: packages: - xfonts-utils - libx11-dev - libxaw7-dev - qtbase5-dev - qtmultimedia5-dev - qtbase5-dev-tools script: - cd sys/unix/ && sh setup.sh hints/$HINTS && cd ../../ - make fetch-lua LUA_VERSION=$LUA_VERSION - test -d "lib/lua-$LUA_VERSION/src" || exit 0 - make LUA_VERSION=$LUA_VERSION WANT_WIN_ALL=1 QT_SELECT=5 MOC=moc install - name: linux-xenial-gcc-nocommon os: linux env: HINTS=linux.370 LUA_VERSION=5.4.6 dist: xenial compiler: gcc script: - echo "CFLAGS+=-fno-common" >>sys/unix/hints/$HINTS - cd sys/unix/ && sh setup.sh hints/$HINTS && cd ../../ - make fetch-lua LUA_VERSION=$LUA_VERSION - test -d "lib/lua-$LUA_VERSION/src" || exit 0 - make install - name: linux-focal-gcc9-win-all os: linux env: HINTS=linux.370 LUA_VERSION=5.4.6 dist: focal compiler: gcc addons: apt: packages: - gcc-9 - g++-9 - libx11-dev - libxaw7-dev - xfonts-utils - qtbase5-dev - qtmultimedia5-dev - qtbase5-dev-tools script: - cd sys/unix/ && sh setup.sh hints/$HINTS && cd ../../ - make fetch-lua LUA_VERSION=$LUA_VERSION - test -d "lib/lua-$LUA_VERSION/src" || exit 0 - make LUA_VERSION=$LUA_VERSION WANT_WIN_ALL=1 QT_SELECT=5 MOC=moc install - name: linux-xenial-gcc-minimal os: linux env: HINTS=linux-minimal LUA_VERSION=5.4.6 compiler: gcc script: | cd sys/unix/ && sh setup.sh hints/$HINTS && cd ../../ sed -i '/^#define CLIPPING/d' include/config.h sed -i '/^#define COMPRESS/d' include/config.h #sed -i '/^#define DOAGAIN/d' include/config.h sed -i '/^#define DUMPLOG/d' include/config.h #sed -i '/^#define GDBPATH/d' include/config.h #sed -i '/^#define GREPPATH/d' include/config.h sed -i '/^#define INSURANCE/d' include/config.h sed -i '/^#define LOGFILE/d' include/config.h sed -i '/^#define NEWS/d' include/config.h sed -i '/^#define PANICLOG/d' include/config.h #sed -i '/^#define STATUS_HILITES/d' include/config.h sed -i '/^#define SYSCF/d' include/config.h sed -i '/^#define USER_SOUNDS/d' include/config.h sed -i '/^#define XLOGFILE/d' include/config.h sed -i '/^#define MAIL/d' include/unixconf.h sed -i '/^#define SHELL/d' include/unixconf.h sed -i '/^#define SUSPEND/d' include/unixconf.h make fetch-lua LUA_VERSION=$LUA_VERSION test -d "lib/lua-$LUA_VERSION/src" || exit 0 make LUA_VERSION=$LUA_VERSION WANT_WIN_ALL=1 install cat dat/options - name: windows-visualstudio os: windows language: shell script: - ./win/win32/vs/travisci.sh - name: windows-mingw os: windows # install: choco install mingw script: - export ADD_CURSES=Y - export PDCURSES_TOP=../lib/pdcurses - export LUA_VERSION=5.4.6 - sh sys/windows/travis-gcc.sh - test -d "lib/lua-$LUA_VERSION/src" || exit 0 - test -d "lib/pdcurses" || exit 0 - cd src - cp ../sys/windows/Makefile.gcc ./Makefile - mingw32-make LUA_VERSION=$LUA_VERSION install - name: msdos-linux-focal-djgpp-crosscompile os: linux env: HINTS=linux.370 LUA_VERSION=5.4.6 dist: focal compiler: gcc script: # - export # - export GCCVER=gcc550 - export GCCVER=gcc1010 - cd sys/unix/ && sh setup.sh hints/$HINTS && cd ../../ - make fetch-lua - test -d "lib/lua-$LUA_VERSION/src" || exit 0 - sh sys/msdos/fetch-cross-compiler.sh - make LUA_VERSION=$LUA_VERSION WANT_WIN_TTY=1 WANT_WIN_CURSES=1 CROSS_TO_MSDOS=1 all - make LUA_VERSION=$LUA_VERSION WANT_WIN_TTY=1 WANT_WIN_CURSES=1 CROSS_TO_MSDOS=1 package exclude: # - os: osx # osx_image: xcode10.3 # env: DESCR=osx-xcode10.3-x11 HINTS=macosx10.14 WANT_WIN_CURSES=1 WANT_WIN_X11=1 USE_XPM=1 # compiler: clang # script: "cd sys/unix/ && sh setup.sh hints/$HINTS && cd ../../ && make install" - os: osx osx_image: xcode10.2 env: HINTS=macosx10.14 compiler: clang script: "cd sys/unix/ && sh setup.sh hints/$HINTS && cd ../../ && make install" # sudo: false notifications: email: recipients: - devteam@nethack.org # deploy: provider: releases api_key: secure: "U0Dt2CXrcG8Yi4taUCT/6AnM+0IJtdCv6IVG/2rGooUY3pZjNWE9XDM6X9ZeAmbI79aN6FPTppjUf3KbB/upYeJt+8mrjnxEk/ZTO1xXDDW8iL/DiqnczoFsMGmPsTM+Fkeak8bu0SifI7Qkx9i1N+zOyl2VdlaxGjchPfl/OJw2jcQs7rOGRfr23/rapZKTcFq+BFlxMiIHa0dXbCJ9vagdlyAeclOCtPjw1VoH/Cb/+0/Xlx2MFPncw4/1P+bO/fPantHyehh3/WCDVCnI4M7ftONpsTVRrQ+Hml89teUH9/1xXUOpbCeVghWr1rumLcQzMqLKNj2lP/gm9co2/DKpxiUPUzBfO/9Jvl1CNoEwPYQBRNb38kggDvAT4vKX38Oi5sZvumFEO4L0y7o4cW6SA4/CYIykfxOdkrryt8ltfWwopdy3I/DothYw31vJ9GsZOCAShFRAy3hJxYUbHhT+7SDUBadVSEkb4UqxQ+7zntAVT+Lp4DXLAfvsWxZGrQoP/IrWAgNOLRKILubpzh+YpadMH3Ygha2JRAeJAEZ3DnXf3vOOAucWnk4mNXDbW35GTDTAJDWMvddZCfsrUI/uHxgaRjFs9fLX1X5tqhGnsr27sKLWyX+zrIPVV0TPl3AzYPAf6Bc8Okeu+JEGQERvvgSasCuYcmhgYznBVJI=" file_glob: true file: - "$TRAVIS_TAG.x86.zip" skip_cleanup: true on: tags: true prerelease: true name: "Pre-Release build of NetHack 3.7.0" body: "This is an auto generated Pre-Release build of NetHack 3.7.0"