1 # Copyright (C) 2016 Daniel James.
2 # Distributed under the Boost Software License, Version 1.0. (See accompanying
3 # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5 # Use Trusty to get a reasonably recent version of Boost.
23 env: BJAM_TOOLSET=gcc-std11
25 # env: BJAM_TOOLSET=gcc-m32
27 env: BJAM_TOOLSET=gcc-std11m32
29 # env: BJAM_TOOLSET=clang
31 env: BJAM_TOOLSET=clang-std11
33 env: BJAM_TOOLSET=clang-m32
35 # env: BJAM_TOOLSET=clang-std11m32
38 - cd ${TRAVIS_BUILD_DIR}
42 echo "using gcc : : g++-4.8 -Werror --std=c++03 -fsanitize=address ;" > ~/user-config.jam
43 echo "using gcc : std11 : g++-4.8 -Werror --std=c++11 -fsanitize=address ;" >> ~/user-config.jam
44 echo "using gcc : m32 : g++-4.8 -m32 -Werror -fsanitize=address ;" >> ~/user-config.jam
45 echo "using gcc : std11m32 : g++-4.8 -m32 -Werror --std=c++11 -fsanitize=address ;" >> ~/user-config.jam
46 echo "using clang : : clang++ -Werror --std=c++03 -fsanitize=address ;" >> ~/user-config.jam
47 echo "using clang : std11 : clang++ -Werror --std=c++11 -fsanitize=address ;" >> ~/user-config.jam
48 # sanitized=address not available for 32-bit clang on travis.
49 echo "using clang : m32 : clang++ -m32 -Werror --std=c++03 ;" >> ~/user-config.jam
50 echo "using clang : std11m32 : clang++ -m32 -Werror --std=c++11 ;" >> ~/user-config.jam
51 - cat ~/user-config.jam
52 - wget -O boost.tar.bz2 https://sourceforge.net/projects/boost/files/boost/snapshots/master/boost_1_62_0.tar.bz2/download
53 - tar -xjf boost.tar.bz2
54 - mv boost_1_62_0 boost
55 - rm -r boost/boost/unordered
58 - cd ${TRAVIS_BUILD_DIR}/test
59 - bjam ${BJAM_TOOLSET} include=${HOME}/boost include=${TRAVIS_BUILD_DIR}/include
60 - xmllint --noout ${TRAVIS_BUILD_DIR}/doc/ref.xml