Files
boost_beast/.travis.yml
T

87 lines
2.1 KiB
YAML
Raw Normal View History

2016-04-22 11:09:36 -04:00
language: cpp
env:
global:
2016-06-17 11:10:33 -04:00
- LLVM_VERSION=3.8.0
2016-04-22 11:09:36 -04:00
# Maintenance note: to move to a new version
# of boost, update both BOOST_ROOT and BOOST_URL.
# Note that for simplicity, BOOST_ROOT's final
# namepart must match the folder name internal
# to boost's .tar.gz.
2016-04-27 14:58:07 +07:00
- LCOV_ROOT=$HOME/lcov
- VALGRIND_ROOT=$HOME/valgrind-install
2016-04-22 11:09:36 -04:00
- BOOST_ROOT=$HOME/boost_1_60_0
- BOOST_URL='http://downloads.sourceforge.net/project/boost/boost/1.60.0/boost_1_60_0.tar.gz?r=https%3A%2F%2Fsourceforge.net%2Fprojects%2Fboost%2Ffiles%2Fboost%2F1.60.0%2Fboost_1_60_0.tar.gz&ts=1460417589&use_mirror=netix'
packages: &gcc5_pkgs
- gcc-5
- g++-5
- python-software-properties
2016-04-27 14:58:07 +07:00
- libssl-dev
- libffi-dev
2016-04-22 11:09:36 -04:00
- libstdc++6
- binutils-gold
# Provides a backtrace if the unittests crash
- gdb
2016-04-27 14:58:07 +07:00
# Needed for installing valgrind
- subversion
- automake
- autotools-dev
- libc6-dbg
2016-04-22 11:09:36 -04:00
matrix:
include:
# GCC/Coverage/Autobahn
2016-04-22 11:09:36 -04:00
- compiler: gcc
env:
- GCC_VER=5
- VARIANT=coverage
- ADDRESS_MODEL=64
- BUILD_SYSTEM=cmake
- PATH=$PWD/cmake/bin:$PATH
2016-04-22 11:09:36 -04:00
addons: &ao_gcc5
apt:
sources: ['ubuntu-toolchain-r-test']
packages: *gcc5_pkgs
2016-05-28 12:21:40 +07:00
# Clang/UndefinedBehaviourSanitizer
2016-04-22 11:09:36 -04:00
- compiler: clang
2016-06-17 11:10:33 -04:00
env:
- GCC_VER=5
- VARIANT=usan
- CLANG_VER=3.8
- ADDRESS_MODEL=64
- UBSAN_OPTIONS='print_stacktrace=1'
- BUILD_SYSTEM=cmake
- PATH=$PWD/cmake/bin:$PATH
2016-06-17 11:10:33 -04:00
- PATH=$PWD/llvm-$LLVM_VERSION/bin:$PATH
addons: *ao_gcc5
2016-04-22 11:09:36 -04:00
2016-05-28 12:21:40 +07:00
# Clang/AddressSanitizer
2016-04-22 11:09:36 -04:00
- compiler: clang
2016-06-17 11:10:33 -04:00
env:
- GCC_VER=5
- VARIANT=asan
- CLANG_VER=3.8
- ADDRESS_MODEL=64
- PATH=$PWD/llvm-$LLVM_VERSION/bin:$PATH
addons: *ao_gcc5
2016-04-27 14:58:07 +07:00
2016-04-22 11:09:36 -04:00
cache:
directories:
- $BOOST_ROOT
2016-04-27 14:58:07 +07:00
- $VALGRIND_ROOT
2016-06-17 11:10:33 -04:00
- llvm-$LLVM_VERSION
- cmake
2016-04-22 11:09:36 -04:00
before_install:
- scripts/install-dependencies.sh
script:
- scripts/build-and-test.sh
2016-04-27 14:58:07 +07:00
after_script:
- cat nohup.out || echo "nohup.out already deleted"
2016-04-22 11:09:36 -04:00
notifications:
email:
false