1 # Use, modification, and distribution are
2 # subject to 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 # Copyright Antony Polukhin 2016.
8 # See https://svn.boost.org/trac/boost/wiki/TravisCoverals for description of this file
9 # and how it can be used with Boost libraries.
14 - set BRANCH_TO_TEST=%APPVEYOR_REPO_BRANCH%
15 - set BOOST_REMOVE=dll
17 os: Visual Studio 2015
21 ###############################################################################################################
22 # From this point and below code is same for all the Boost libs
23 ###############################################################################################################
25 version: 1.61.{build}-{branch}
35 # Set this to the name of the library
36 - set PROJECT_TO_TEST=%APPVEYOR_PROJECT_NAME%
37 - echo "Testing %PROJECT_TO_TEST%"
38 # Cloning Boost libraries (fast nondeep cloning)
39 - set BOOST=C:/boost-local
42 - git remote add --no-tags -t %BRANCH_TO_TEST% origin https://github.com/boostorg/boost.git
44 - git checkout %BRANCH_TO_TEST%
45 - git submodule update --init --merge
46 - git remote set-branches --add origin %BRANCH_TO_TEST%
47 - git pull --recurse-submodules
48 - git submodule update --init
49 - git checkout %BRANCH_TO_TEST%
50 #- git submodule foreach "git reset --quiet --hard"
51 #- git submodule foreach "git clean -fxd"
55 - rm -rf %BOOST%/libs/%BOOST_REMOVE%
56 - mv %APPVEYOR_BUILD_FOLDER% %BOOST%/libs/%PROJECT_TO_TEST%
57 - set TRAVIS_BUILD_DIR=%BOOST%/libs/%PROJECT_TO_TEST%
60 - call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64
63 - cd %BOOST%/libs/%PROJECT_TO_TEST%/test
68 - ..\..\..\b2.exe address-model=64 architecture=x86 cxxflags="-DBOOST_TRAVISCI_BUILD" -sBOOST_BUILD_PATH=.