]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/unordered/.travis.yml
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / unordered / .travis.yml
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)
4
5 # Use Trusty to get a reasonably recent version of Boost.
6 sudo: required
7 dist: trusty
8
9 language: c++
10
11 addons:
12 apt:
13 packages:
14 - libboost-tools-dev
15 - libxml2-utils
16 - g++-multilib
17
18 matrix:
19 include:
20 - compiler: gcc
21 env: BJAM_TOOLSET=gcc
22 - compiler: gcc
23 env: BJAM_TOOLSET=gcc-std11
24 #- compiler: gcc
25 # env: BJAM_TOOLSET=gcc-m32
26 - compiler: gcc
27 env: BJAM_TOOLSET=gcc-std11m32
28 #- compiler: clang
29 # env: BJAM_TOOLSET=clang
30 - compiler: clang
31 env: BJAM_TOOLSET=clang-std11
32 - compiler: clang
33 env: BJAM_TOOLSET=clang-m32
34 #- compiler: clang
35 # env: BJAM_TOOLSET=clang-std11m32
36
37 before_script:
38 - cd ${TRAVIS_BUILD_DIR}
39 - touch Jamroot.jam
40 - cd $HOME
41 - |
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
56
57 script:
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