File: appveyor.yml

package info (click to toggle)
boost1.74 1.74.0-9
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 464,084 kB
  • sloc: cpp: 3,338,324; xml: 131,293; python: 33,088; ansic: 14,336; asm: 4,034; sh: 3,351; makefile: 1,193; perl: 1,036; yacc: 478; php: 212; ruby: 102; lisp: 24; sql: 13; csh: 6
file content (77 lines) | stat: -rw-r--r-- 2,489 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# Use, modification, and distribution are
# subject to the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#
# Copyright Antony Polukhin 2016.

#
# See https://svn.boost.org/trac/boost/wiki/TravisCoverals for description of this file
# and how it can be used with Boost libraries.
#
# File revision #1

init:
    - set BRANCH_TO_TEST=%APPVEYOR_REPO_BRANCH%
    - set BOOST_REMOVE=process

os: Visual Studio 2015
configuration: Debug
platform: x64
build: off

###############################################################################################################
# From this point and below code is same for all the Boost libs
###############################################################################################################

version: 1.69.{build}-{branch}
 
# branches to build
branches:
  except:
    - gh-pages

skip_tags: true

before_build:
    # Set this to the name of the library
    - set PROJECT_TO_TEST=%APPVEYOR_PROJECT_NAME%
    - echo "Testing %PROJECT_TO_TEST%"
    # Cloning Boost libraries (fast nondeep cloning)
    - if %BRANCH_TO_TEST%==master ( set BOOST_BRANCH=master ) else ( set BOOST_BRANCH=develop )
    - set BOOST=C:/boost-local
    - git init %BOOST%
    - cd %BOOST%
    - git remote add --no-tags -t %BOOST_BRANCH% origin https://github.com/boostorg/boost.git
    - git fetch --depth=1
    - git checkout %BOOST_BRANCH%
    - git submodule update --init --merge
    - git remote set-branches --add origin %BOOST_BRANCH%
    - git pull --recurse-submodules
    - git submodule update --init
    - git checkout %BOOST_BRANCH%
    #- git submodule foreach "git reset --quiet --hard"
    #- git submodule foreach "git clean -fxd"
    - git reset --hard
    - git clean -fxd
    - git status
    - rm -rf %BOOST%/libs/%BOOST_REMOVE%
    - mv %APPVEYOR_BUILD_FOLDER% %BOOST%/libs/%PROJECT_TO_TEST%
    - set TRAVIS_BUILD_DIR=%BOOST%/libs/%PROJECT_TO_TEST%

build_script:
    - call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64
    - bootstrap.bat
    - b2.exe headers
    - cd %BOOST%/libs/%PROJECT_TO_TEST%/test

after_build:
before_test:
test_script:
  - ..\..\..\b2.exe address-model=64 architecture=x86 cxxflags="-DBOOST_TRAVISCI_BUILD" -sBOOST_BUILD_PATH=. --boost-process-report-ci

after_test:
on_success:
on_failure:
on_finish:
  - curl -s https://report.ci/upload.py | python - --name "Windows test run" --root_dir=%BOOST%