2014-01-13 16:53:26 +08:00
|
|
|
language: cpp
|
2020-07-16 21:49:17 +08:00
|
|
|
dist: bionic
|
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:
|
|
|
|
- gettext
|
|
|
|
- libncurses5-dev
|
2019-02-05 13:55:56 +08:00
|
|
|
- libpcre2-dev
|
2020-03-25 11:00:42 +08:00
|
|
|
- python3
|
|
|
|
- python3-pip
|
|
|
|
before_install:
|
|
|
|
- sudo pip3 install pexpect
|
2019-06-06 21:06:12 +08:00
|
|
|
env:
|
2019-12-14 10:39:30 +08:00
|
|
|
# Some warnings upgraded to errors to match Open Build Service platforms
|
|
|
|
- CXXFLAGS="-Werror=address -Werror=return-type"
|
2016-10-16 18:56:55 +08:00
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
|
|
|
addons:
|
|
|
|
apt:
|
2019-02-05 13:55:56 +08:00
|
|
|
packages: # Don't use libpcre2-dev here, so that one build uses the vendored code
|
2016-10-16 18:56:55 +08:00
|
|
|
- gettext
|
2016-10-16 20:07:26 +08:00
|
|
|
- lib32ncurses5-dev
|
|
|
|
- g++-multilib
|
2020-03-25 11:00:42 +08:00
|
|
|
- python3
|
|
|
|
- python3-pip
|
|
|
|
before_install:
|
|
|
|
- sudo pip3 install pexpect
|
2016-10-16 19:16:26 +08:00
|
|
|
env:
|
2019-12-14 10:39:30 +08:00
|
|
|
- CXXFLAGS="-m32 -Werror=address -Werror=return-type" CFLAGS="-m32"
|
2016-06-15 03:42:41 +08:00
|
|
|
- os: linux
|
|
|
|
compiler: clang
|
2016-10-16 20:13:04 +08:00
|
|
|
env:
|
2019-11-08 21:41:06 +08:00
|
|
|
- CXXFLAGS="-fno-omit-frame-pointer -fsanitize=undefined -fsanitize=address"
|
2019-02-05 13:37:01 +08:00
|
|
|
- ASAN_OPTIONS=check_initialization_order=1:detect_stack_use_after_return=1:detect_leaks=1
|
2019-02-09 21:41:10 +08:00
|
|
|
- UBSAN_OPTIONS=print_stacktrace=1:report_error_type=1:suppressions=$TRAVIS_BUILD_DIR/build_tools/ubsan.blacklist
|
2020-03-25 11:00:42 +08:00
|
|
|
before_install:
|
|
|
|
- sudo pip3 install pexpect
|
2016-06-15 03:42:41 +08:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- gettext
|
|
|
|
- libncurses5-dev
|
2019-02-05 13:55:56 +08:00
|
|
|
- libpcre2-dev
|
2019-06-26 01:17:53 +08:00
|
|
|
- python
|
2020-03-25 11:00:42 +08:00
|
|
|
- python3
|
|
|
|
- python3-pip
|
2019-10-20 17:21:29 +08:00
|
|
|
- os: linux
|
|
|
|
compiler: clang
|
|
|
|
env:
|
2019-11-08 21:41:06 +08:00
|
|
|
- CXXFLAGS="-fsanitize=thread"
|
2020-03-25 11:00:42 +08:00
|
|
|
before_install:
|
|
|
|
- sudo pip3 install pexpect
|
2019-10-20 17:21:29 +08:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- gettext
|
|
|
|
- libncurses5-dev
|
|
|
|
- libpcre2-dev
|
2020-03-25 11:00:42 +08:00
|
|
|
- python3
|
|
|
|
- python3-pip
|
2015-10-07 15:34:53 +08:00
|
|
|
- os: osx
|
2020-03-25 11:00:42 +08:00
|
|
|
before_install:
|
|
|
|
- sudo pip3 install pexpect
|
2015-10-07 15:34:53 +08:00
|
|
|
fast_finish: true
|
|
|
|
|
2014-01-13 16:53:26 +08:00
|
|
|
script:
|
2019-02-27 21:03:33 +08:00
|
|
|
- cmake -DCMAKE_INSTALL_PREFIX=$HOME/prefix . || cat CMakeFiles/CMakeError.log &&
|
|
|
|
make -j2 &&
|
|
|
|
make install &&
|
|
|
|
make test SHOW_INTERACTIVE_LOG=1
|
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=
|