2014-01-13 16:53:26 +08:00
|
|
|
language: cpp
|
2018-11-09 01:38:14 +08:00
|
|
|
dist: xenial
|
2016-06-15 06:00:10 +08:00
|
|
|
sudo: required
|
2015-10-07 15:34:53 +08:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- expect
|
|
|
|
- gettext
|
|
|
|
- libncurses5-dev
|
2016-10-16 18:56:55 +08:00
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- expect
|
|
|
|
- gettext
|
2016-10-16 20:07:26 +08:00
|
|
|
- lib32ncurses5-dev
|
|
|
|
- g++-multilib
|
2016-10-16 19:16:26 +08:00
|
|
|
env:
|
2017-09-24 14:26:27 +08:00
|
|
|
- CXXFLAGS="-g -O2 -m32" CFLAGS="-g -m32"
|
2018-01-15 06:44:54 +08:00
|
|
|
- os: linux
|
|
|
|
compiler: clang
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- expect
|
|
|
|
- gettext
|
|
|
|
- libncurses5-dev
|
|
|
|
- cmake
|
|
|
|
env:
|
|
|
|
- USE_CMAKE="1" # Dummy value, shows up in the Travis UI only
|
|
|
|
script:
|
2018-02-01 22:48:12 +08:00
|
|
|
- cmake -DCMAKE_INSTALL_PREFIX=$HOME/prefix . || cat CMakeFiles/CMakeError.log &&
|
2018-01-15 06:44:54 +08:00
|
|
|
make -j2 &&
|
|
|
|
make install &&
|
|
|
|
make test SHOW_INTERACTIVE_LOG=1
|
2016-06-15 03:42:41 +08:00
|
|
|
- os: linux
|
|
|
|
compiler: clang
|
2016-10-16 20:13:04 +08:00
|
|
|
env:
|
2017-09-24 14:26:27 +08:00
|
|
|
- CXXFLAGS="-g -O2 -fno-omit-frame-pointer -fsanitize=address" ASAN_OPTIONS=check_initialization_order=1:detect_stack_use_after_return=1:detect_leaks=1
|
2016-10-16 20:13:04 +08:00
|
|
|
before_install: export CXX=clang++-3.8
|
2016-06-15 03:42:41 +08:00
|
|
|
addons:
|
|
|
|
apt:
|
2016-10-16 20:13:04 +08:00
|
|
|
sources:
|
|
|
|
- llvm-toolchain-precise-3.8
|
|
|
|
- ubuntu-toolchain-r-test
|
2016-06-15 03:42:41 +08:00
|
|
|
packages:
|
2016-10-16 20:13:04 +08:00
|
|
|
- clang-3.8
|
|
|
|
- llvm-3.8 # for llvm-symbolizer
|
2016-06-15 03:42:41 +08:00
|
|
|
- expect
|
|
|
|
- gettext
|
|
|
|
- libncurses5-dev
|
2015-10-07 15:34:53 +08:00
|
|
|
- os: osx
|
|
|
|
before_install:
|
|
|
|
- brew update
|
2016-10-16 19:16:26 +08:00
|
|
|
- brew install pcre2 # use system PCRE2
|
2016-06-15 03:42:41 +08:00
|
|
|
- brew outdated xctool || brew upgrade xctool # for xcode... soon.
|
2016-10-16 19:16:26 +08:00
|
|
|
env:
|
2017-09-24 14:26:27 +08:00
|
|
|
- CXXFLAGS="-g -O2 -lstdc++"
|
2015-10-07 15:34:53 +08:00
|
|
|
fast_finish: true
|
|
|
|
|
2014-01-13 16:53:26 +08:00
|
|
|
script:
|
2017-10-10 15:08:25 +08:00
|
|
|
- autoreconf --no-recursive
|
2015-10-07 15:34:53 +08:00
|
|
|
- ./configure --prefix=$HOME/prefix || cat config.log
|
2017-09-13 21:39:18 +08:00
|
|
|
- make -j2 &&
|
|
|
|
make test DESTDIR=$HOME/prefix/ SHOW_INTERACTIVE_LOG=1 &&
|
|
|
|
make uninstall &&
|
|
|
|
echo "Checking for leftover files after make uninstall" &&
|
|
|
|
find $HOME/prefix/ -type f -print -exec false '{}' +
|
2016-10-16 18:56:55 +08:00
|
|
|
|
2014-01-13 16:53:26 +08:00
|
|
|
notifications:
|
2016-02-11 23:06:18 +08:00
|
|
|
# Some items are encrypted so that notifications from other repositories
|
|
|
|
# don't flood the official repositories.
|
2014-01-13 16:53:26 +08:00
|
|
|
irc:
|
|
|
|
channels:
|
2016-02-11 23:06:18 +08:00
|
|
|
#- "irc.oftc.net#fish"
|
|
|
|
secure: "eRk9KGZ5+mrlD2SoI8yg2Sp8OYrh7YPyGe3WCDQUwTnNgNDII34rbM9a6UOA/l7AeWSNY8joLq5xVLCU4wpFgUcJ11SYIpMnLosZK29OW4ubDOHmdBDvJ971rLgAVG9cXngZtIxEVVxN/jnS1Qr8GKZx4DjkaTMgz1pemb4WxCc="
|
2014-02-11 09:47:29 +08:00
|
|
|
template:
|
|
|
|
- "%{repository}#%{build_number} (%{commit} on %{branch} by %{author}): %{message} Details at %{build_url}"
|
|
|
|
use_notice: true
|
|
|
|
skip_join: true
|
2015-03-20 14:46:13 +08:00
|
|
|
webhooks:
|
|
|
|
urls:
|
2016-06-15 03:42:41 +08:00
|
|
|
#- https://webhooks.gitter.im/e/61821cec3015bf0f8bb1
|
|
|
|
secure: fPfOmxnC3MCsfR1oocVFeWLawGcRZkn+8fNHlSOeZ+SqqoZfcCHgQTvQ22TqmVl1yvkXbNlaXjo6dbVzTOAh7r7H0bRMEKBVh3dQS7wqjB1sKivpXd8PAS3BTj5MQpGeJzdHnDuwVlwDktGtfHfhGeq1Go/4IosOq8u+6RTe28g=
|