7 # Maintenance note: to move to a new version
8 # of boost, update both BOOST_ROOT and BOOST_URL.
9 # Note that for simplicity, BOOST_ROOT's final
10 # namepart must match the folder name internal
12 - LCOV_ROOT=$HOME/lcov
13 - VALGRIND_ROOT=$HOME/valgrind-install
14 - BOOST_ROOT=$HOME/boost_1_61_0
15 - BOOST_URL='http://sourceforge.net/projects/boost/files/boost/1.61.0/boost_1_61_0.tar.gz'
19 sources: ['ubuntu-toolchain-r-test']
23 - python-software-properties
28 # Provides a backtrace if the unittests crash
30 # Needed for installing valgrind
38 # GCC/Coverage/Autobahn (if master or develop branch)
45 - PATH=$PWD/cmake/bin:$PATH
47 # Clang/UndefinedBehaviourSanitizer
54 - UBSAN_OPTIONS='print_stacktrace=1'
56 - PATH=$PWD/cmake/bin:$PATH
57 - PATH=$PWD/llvm-$LLVM_VERSION/bin:$PATH
59 # Clang/AddressSanitizer
66 - PATH=$PWD/llvm-$LLVM_VERSION/bin:$PATH
76 - scripts/install-dependencies.sh
79 - travis_retry scripts/build-and-test.sh
82 - cat nohup.out || echo "nohup.out already deleted"