Skip to content

Commit d1b0024

Browse files
committed
Add Travis and Appveyor CI config files.
1 parent ecb8bfa commit d1b0024

File tree

2 files changed

+264
-0
lines changed

2 files changed

+264
-0
lines changed

.travis.yml

+171
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,171 @@
1+
# Copyright 2016, 2017, 2018 Peter Dimov
2+
# Copyright 2018 T. Zachary Laine
3+
# Distributed under the Boost Software License, Version 1.0.
4+
# (See accompanying file LICENSE_1_0.txt or copy at http://boost.org/LICENSE_1_0.txt)
5+
6+
language: cpp
7+
8+
sudo: false
9+
10+
branches:
11+
only:
12+
- master
13+
- develop
14+
- /feature\/.*/
15+
16+
env:
17+
matrix:
18+
- BOGUS_JOB=true
19+
20+
matrix:
21+
22+
exclude:
23+
- env: BOGUS_JOB=true
24+
25+
include:
26+
- os: linux
27+
env: TOOLSET=gcc COMPILER=g++ CXXSTD=11
28+
29+
- os: linux
30+
env: TOOLSET=gcc COMPILER=g++-4.7 CXXSTD=11
31+
addons:
32+
apt:
33+
packages:
34+
- g++-4.7
35+
sources:
36+
- ubuntu-toolchain-r-test
37+
38+
- os: linux
39+
env: TOOLSET=gcc COMPILER=g++-4.8 CXXSTD=11
40+
addons:
41+
apt:
42+
packages:
43+
- g++-4.8
44+
sources:
45+
- ubuntu-toolchain-r-test
46+
47+
- os: linux
48+
env: TOOLSET=gcc COMPILER=g++-4.9 CXXSTD=11
49+
addons:
50+
apt:
51+
packages:
52+
- g++-4.9
53+
sources:
54+
- ubuntu-toolchain-r-test
55+
56+
- os: linux
57+
env: TOOLSET=gcc COMPILER=g++-5 CXXSTD=11,14,1z
58+
addons:
59+
apt:
60+
packages:
61+
- g++-5
62+
sources:
63+
- ubuntu-toolchain-r-test
64+
65+
- os: linux
66+
env: TOOLSET=gcc COMPILER=g++-6 CXXSTD=11,14,1z
67+
addons:
68+
apt:
69+
packages:
70+
- g++-6
71+
sources:
72+
- ubuntu-toolchain-r-test
73+
74+
- os: linux
75+
env: TOOLSET=gcc COMPILER=g++-6 CXXSTD=11,14,1z CXXSTD_DIALECT=cxxstd-dialect=gnu
76+
addons:
77+
apt:
78+
packages:
79+
- g++-6
80+
sources:
81+
- ubuntu-toolchain-r-test
82+
83+
- os: linux
84+
env: TOOLSET=gcc COMPILER=g++-7 CXXSTD=11,14,17
85+
addons:
86+
apt:
87+
packages:
88+
- g++-7
89+
sources:
90+
- ubuntu-toolchain-r-test
91+
92+
- os: linux
93+
env: TOOLSET=clang COMPILER=clang++ CXXSTD=11
94+
95+
- os: linux
96+
compiler: clang++-libc++
97+
env: TOOLSET=clang COMPILER=clang++-libc++ CXXSTD=11,14,1z
98+
addons:
99+
apt:
100+
packages:
101+
- libc++-dev
102+
103+
- os: osx
104+
env: TOOLSET=clang COMPILER=clang++ CXXSTD=11,14,1z
105+
osx_image: xcode9.1
106+
107+
- os: osx
108+
env: TOOLSET=clang COMPILER=clang++ CXXSTD=11,14,1z
109+
osx_image: xcode9
110+
111+
- os: osx
112+
env: TOOLSET=clang COMPILER=clang++ CXXSTD=11,14,1z
113+
osx_image: xcode8.3
114+
115+
- os: osx
116+
env: TOOLSET=clang COMPILER=clang++ CXXSTD=11,14,1z
117+
osx_image: xcode8
118+
119+
- os: osx
120+
env: TOOLSET=clang COMPILER=clang++ CXXSTD=11,14,1z
121+
osx_image: xcode7.3
122+
123+
- os: osx
124+
env: TOOLSET=clang COMPILER=clang++ CXXSTD=11,14,1z
125+
osx_image: xcode6.4
126+
127+
install:
128+
- BOOST_BRANCH=develop && [ "$TRAVIS_BRANCH" == "master" ] && BOOST_BRANCH=master || true
129+
- cd ..
130+
- git clone -b $BOOST_BRANCH --depth 1 https://github.com/boostorg/boost.git boost-root
131+
- cd boost-root
132+
- git submodule update --init tools/build
133+
- git submodule update --init libs/config
134+
- git submodule update --init libs/predef
135+
- git submodule update --init libs/core
136+
- git submodule update --init libs/detail
137+
- git submodule update --init libs/range
138+
- git submodule update --init libs/assert
139+
- git submodule update --init libs/array
140+
- git submodule update --init libs/type_traits
141+
- git submodule update --init libs/static_assert
142+
- git submodule update --init libs/iterator
143+
- git submodule update --init libs/preprocessor
144+
- git submodule update --init libs/mpl
145+
- git submodule update --init libs/smart_ptr
146+
- git submodule update --init libs/callable_traits
147+
- git submodule update --init libs/type_index
148+
- git submodule update --init libs/exception
149+
- git submodule update --init libs/throw_exception
150+
- git submodule update --init libs/utility
151+
- git submodule update --init libs/bind
152+
- git submodule update --init libs/ratio
153+
- git submodule update --init libs/function
154+
- git submodule update --init libs/integer
155+
- git submodule update --init libs/numeric
156+
- git submodule update --init libs/move
157+
- git submodule update --init libs/container_hash
158+
- git submodule update --init libs/io
159+
- git submodule update --init libs/concept_check
160+
- git submodule update --init libs/test
161+
- git submodule update --init libs/timer
162+
- git submodule update --init libs/chrono
163+
- git submodule update --init libs/system
164+
- cp -r $TRAVIS_BUILD_DIR/* libs/algorithm
165+
- ./bootstrap.sh
166+
- ./b2 headers
167+
168+
script:
169+
- |-
170+
echo "using $TOOLSET : : $COMPILER ;" > ~/user-config.jam
171+
- ./b2 -j3 libs/algorithm/test toolset=$TOOLSET cxxstd=$CXXSTD $CXXSTD_DIALECT

appveyor.yml

+93
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
# Copyright 2016 Peter Dimov
2+
# Distributed under the Boost Software License, Version 1.0.
3+
# (See accompanying file LICENSE_1_0.txt or copy at http://boost.org/LICENSE_1_0.txt)
4+
5+
version: 1.0.{build}-{branch}
6+
7+
shallow_clone: true
8+
9+
branches:
10+
only:
11+
- master
12+
- develop
13+
14+
platform:
15+
- x64
16+
17+
environment:
18+
matrix:
19+
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
20+
ARGS: --toolset=msvc-14.1 address-model=64
21+
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
22+
ARGS: --toolset=msvc-14.1 address-model=32
23+
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
24+
ARGS: --toolset=msvc-14.1 address-model=64 cxxflags=-std:c++latest cxxflags=-permissive-
25+
- ARGS: --toolset=msvc-9.0 address-model=32
26+
- ARGS: --toolset=msvc-10.0 address-model=32
27+
- ARGS: --toolset=msvc-11.0 address-model=32
28+
- ARGS: --toolset=msvc-12.0 address-model=32
29+
- ARGS: --toolset=msvc-14.0 address-model=32
30+
- ARGS: --toolset=msvc-12.0 address-model=64
31+
- ARGS: --toolset=msvc-14.0 address-model=64
32+
- ARGS: --toolset=msvc-14.0 address-model=64 cxxflags=-std:c++latest
33+
- ARGS: --toolset=gcc address-model=64
34+
CXXSTD: 03,11,14,1z
35+
PATH: C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin;%PATH%
36+
- ARGS: --toolset=gcc address-model=64
37+
CXXSTD: 03,11,14,1z
38+
PATH: C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin;%PATH%
39+
- ARGS: --toolset=gcc address-model=32 linkflags=-Wl,-allow-multiple-definition
40+
CXXSTD: 03,11,14,1z
41+
PATH: C:\MinGW\bin;%PATH%
42+
- ARGS: --toolset=gcc address-model=64
43+
CXXSTD: 03,11,14,1z
44+
PATH: C:\cygwin64\bin;%PATH%
45+
- ARGS: --toolset=gcc address-model=32
46+
CXXSTD: 03,11,14,1z
47+
PATH: C:\cygwin\bin;%PATH%
48+
49+
install:
50+
- cd ..
51+
- git clone -b %APPVEYOR_REPO_BRANCH% --depth 1 https://github.com/boostorg/boost.git boost-root
52+
- cd boost-root
53+
- xcopy /s /e /q %APPVEYOR_BUILD_FOLDER% libs\algorithm
54+
- git submodule update --init tools/build
55+
- git submodule update --init libs/config
56+
- git submodule update --init libs/predef
57+
- git submodule update --init libs/core
58+
- git submodule update --init libs/detail
59+
- git submodule update --init libs/range
60+
- git submodule update --init libs/assert
61+
- git submodule update --init libs/array
62+
- git submodule update --init libs/type_traits
63+
- git submodule update --init libs/static_assert
64+
- git submodule update --init libs/iterator
65+
- git submodule update --init libs/preprocessor
66+
- git submodule update --init libs/mpl
67+
- git submodule update --init libs/smart_ptr
68+
- git submodule update --init libs/callable_traits
69+
- git submodule update --init libs/type_index
70+
- git submodule update --init libs/exception
71+
- git submodule update --init libs/throw_exception
72+
- git submodule update --init libs/utility
73+
- git submodule update --init libs/bind
74+
- git submodule update --init libs/ratio
75+
- git submodule update --init libs/function
76+
- git submodule update --init libs/integer
77+
- git submodule update --init libs/numeric
78+
- git submodule update --init libs/move
79+
- git submodule update --init libs/container_hash
80+
- git submodule update --init libs/io
81+
- git submodule update --init libs/concept_check
82+
- git submodule update --init libs/test
83+
- git submodule update --init libs/timer
84+
- git submodule update --init libs/chrono
85+
- git submodule update --init libs/system
86+
- bootstrap
87+
- b2 headers
88+
89+
build: off
90+
91+
test_script:
92+
- cd libs\config\test
93+
- ..\..\..\b2 -j3 %ARGS% cxxstd=%CXXSTD%

0 commit comments

Comments
 (0)