Changes between Version 8 and Version 9 of TravisCoverals
- Timestamp:
- Nov 18, 2016, 9:32:55 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TravisCoverals
v8 v9 79 79 # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 80 80 # 81 # Copyright Antony Polukhin 2014-201 5.81 # Copyright Antony Polukhin 2014-2016. 82 82 83 83 # … … 85 85 # and how it can be used with Boost libraries. 86 86 # 87 # File revision # 587 # File revision #6 88 88 89 89 sudo: false … … 114 114 115 115 matrix: 116 - CXX_STANDARD=c++98 117 - CXX_STANDARD=c++0x 116 # Note that "--coverage -fsanitize=address,leak,undefined -DBOOST_TRAVISCI_BUILD" are added automatically lower in code 117 - CXX_FLAGS="-std=c++98" LINK_FLAGS="" TOOLSET=gcc-6 118 - CXX_FLAGS="-std=c++11" LINK_FLAGS="" TOOLSET=gcc-6 119 - CXX_FLAGS="-std=c++1y" LINK_FLAGS="" TOOLSET=gcc-6 120 #- CXX_FLAGS="-std=c++11 -stdlib=libc++" LINK_FLAGS="-stdlib=libc++" TOOLSET=clang 121 #- CXX_FLAGS="-std=c++1y -stdlib=libc++" LINK_FLAGS="-stdlib=libc++" TOOLSET=clang 118 122 119 123 ############################################################################################################### … … 125 129 addons: 126 130 apt: 131 sources: 132 - ubuntu-toolchain-r-test 133 - git-core 127 134 packages: 128 - valgrind135 - git 129 136 - python-yaml 137 - gcc-6 138 - g++-6 130 139 - lcov 140 - clang 141 - libc++-dev 131 142 132 143 before_install: … … 141 152 - git fetch --depth=1 142 153 - git checkout $BRANCH_TO_TEST 143 - git submodule update -- init --merge154 - git submodule update --jobs=3 --init --merge 144 155 - git remote set-branches --add origin $BRANCH_TO_TEST 145 156 - git pull --recurse-submodules 146 - git submodule update --init147 - git checkout $BRANCH_TO_TEST148 - git submodule foreach "git reset --quiet --hard; git clean -fxd"149 - git reset --hard; git clean -fxd150 157 - git status 151 158 - rm -rf $BOOST/libs/$BOOST_REMOVE … … 158 165 script: 159 166 # `--coverage` flags required to generate coverage info for Coveralls 160 - ../../../b2 testing.launcher=valgrind address-model=64 architecture=x86 toolset=$CC cxxflags="--coverage -DBOOST_TRAVISCI_BUILD -std=$CXX_STANDARD" linkflags="--coverage"161 167 - ../../../b2 "testing.launcher=LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libasan.so.3 " address-model=64 architecture=x86 toolset=$TOOLSET cxxflags="--coverage -fsanitize=address,leak,undefined -DBOOST_TRAVISCI_BUILD $CXX_FLAGS" linkflags="$LINK_FLAGS --coverage -lasan -lubsan" 168 162 169 after_success: 163 170 # Copying Coveralls data to a separate folder