-
Notifications
You must be signed in to change notification settings - Fork 187
/
.travis.yml
113 lines (99 loc) · 1.99 KB
/
.travis.yml
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
language: cpp
dist: focal
os: linux
jobs:
include:
- os: linux
language: python
python: "3.6"
services:
- docker
env:
- COMPILER=g++-8
- CONAN_GCC_VERSIONS=8
- CONAN_DOCKER_IMAGE=lasote/conangcc8
install:
- pip install -U conan conan-package-tools
script:
- python .conan/build.py
- os: linux
compiler: gcc
env:
- COMPILER=g++-8
- CXX_STANDARD=17
addons:
apt:
packages: ['g++-8']
- os: linux
compiler: gcc
env:
- COMPILER=g++-8
- CXX_STANDARD=2a
addons:
apt:
packages: ['g++-8']
- os: linux
compiler: clang
env:
- COMPILER=clang++-6.0
- CXX_STANDARD=17
addons:
apt:
sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-trusty-6.0']
packages: ['g++-8', 'clang-6.0']
- os: linux
compiler: clang
env:
- COMPILER=clang++-6.0
- CXX_STANDARD=2a
addons:
apt:
sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-trusty-6.0']
packages: ['g++-8', 'clang-6.0']
# FIXME: don't use GCC10 in 17 mode for tests as they are depending on operator""
# - os: linux
# compiler: gcc
# env:
# - COMPILER=g++-10
# - CXX_STANDARD=17
# addons:
# apt:
# packages: ['g++-10']
- os: linux
compiler: gcc
env:
- COMPILER=g++-10
- CXX_STANDARD=20
addons:
apt:
packages: ['g++-10']
- os: osx
osx_image: xcode10
env:
- CXX_STANDARD=17
- os: osx
osx_image: xcode10
env:
- CXX_STANDARD=2a
- os: osx
osx_image: xcode11
env:
- CXX_STANDARD=17
- os: osx
osx_image: xcode11
env:
- CXX_STANDARD=2a
- os: osx
osx_image: xcode12
env:
- CXX_STANDARD=17
- os: osx
osx_image: xcode12
env:
- CXX_STANDARD=2a
install:
- if [[ "${COMPILER}" != "" ]]; then export CXX=${COMPILER}; fi
- uname -a
- $CXX --version
script:
- make CXX_STANDARD=$CXX_STANDARD