2014-01-13 08:53:26 +00:00
|
|
|
language: cpp
|
2016-06-14 22:00:10 +00:00
|
|
|
dist: trusty
|
|
|
|
sudo: required
|
2015-10-07 07:34:53 +00:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- bc
|
|
|
|
- expect
|
|
|
|
- gettext
|
|
|
|
- libncurses5-dev
|
|
|
|
|
|
|
|
- os: linux
|
|
|
|
compiler: clang
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
2016-03-31 23:19:43 +00:00
|
|
|
- llvm-toolchain-precise-3.8
|
2015-10-07 07:34:53 +00:00
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
2016-03-31 23:19:43 +00:00
|
|
|
- clang-3.8
|
|
|
|
- llvm-3.8 # for llvm-symbolizer
|
2015-10-07 07:34:53 +00:00
|
|
|
- bc
|
|
|
|
- expect
|
|
|
|
- gettext
|
|
|
|
- libncurses5-dev
|
|
|
|
env:
|
|
|
|
- CXXFLAGS="-g -fno-omit-frame-pointer -fsanitize=address"
|
2016-03-28 12:56:56 +00:00
|
|
|
- ASAN_OPTIONS=check_initialization_order=1:detect_stack_use_after_return=1:detect_leaks=1
|
2016-03-31 23:19:43 +00:00
|
|
|
before_install: export CXX=clang++-3.8
|
2015-10-07 07:34:53 +00:00
|
|
|
|
|
|
|
- os: osx
|
|
|
|
before_install:
|
|
|
|
- brew update
|
|
|
|
- brew install pcre2 # use system PCRE2
|
|
|
|
|
|
|
|
fast_finish: true
|
|
|
|
|
2014-01-13 08:53:26 +00:00
|
|
|
script:
|
|
|
|
- autoreconf
|
2015-10-07 07:34:53 +00:00
|
|
|
- ./configure --prefix=$HOME/prefix || cat config.log
|
2015-03-20 06:53:37 +00:00
|
|
|
- make -j2
|
2015-10-01 08:19:02 +00:00
|
|
|
- make install
|
2016-02-07 02:08:22 +00:00
|
|
|
- make test DESTDIR=$HOME/prefix/ SHOW_INTERACTIVE_LOG=1
|
2015-10-07 07:34:53 +00:00
|
|
|
|
2014-01-13 08:53:26 +00:00
|
|
|
notifications:
|
2016-02-11 15:06:18 +00:00
|
|
|
# Some items are encrypted so that notifications from other repositories
|
|
|
|
# don't flood the official repositories.
|
2014-01-13 08:53:26 +00:00
|
|
|
irc:
|
|
|
|
channels:
|
2016-02-11 15:06:18 +00:00
|
|
|
#- "irc.oftc.net#fish"
|
|
|
|
secure: "eRk9KGZ5+mrlD2SoI8yg2Sp8OYrh7YPyGe3WCDQUwTnNgNDII34rbM9a6UOA/l7AeWSNY8joLq5xVLCU4wpFgUcJ11SYIpMnLosZK29OW4ubDOHmdBDvJ971rLgAVG9cXngZtIxEVVxN/jnS1Qr8GKZx4DjkaTMgz1pemb4WxCc="
|
2014-02-11 01:47:29 +00:00
|
|
|
template:
|
|
|
|
- "%{repository}#%{build_number} (%{commit} on %{branch} by %{author}): %{message} Details at %{build_url}"
|
|
|
|
use_notice: true
|
|
|
|
skip_join: true
|
2015-03-20 06:46:13 +00:00
|
|
|
webhooks:
|
|
|
|
urls:
|
2016-02-11 15:06:18 +00:00
|
|
|
#- https://webhooks.gitter.im/e/61821cec3015bf0f8bb1
|
|
|
|
secure: fPfOmxnC3MCsfR1oocVFeWLawGcRZkn+8fNHlSOeZ+SqqoZfcCHgQTvQ22TqmVl1yvkXbNlaXjo6dbVzTOAh7r7H0bRMEKBVh3dQS7wqjB1sKivpXd8PAS3BTj5MQpGeJzdHnDuwVlwDktGtfHfhGeq1Go/4IosOq8u+6RTe28g=
|