forked from arangodb/velocypack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
106 lines (97 loc) · 2.98 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
os: linux
dist: focal
language: cpp
env:
global:
secure: "Xtwlf0NPrlw6NpdLV1iIgs1f8aWK5lqGmfg1iCDQrsuYhHl7/3tldUIS/I1YMyxPOQHRuaBhFPBgv7YMcDl/1Hss001xm3ILbtgDNBCzUG6v4ZgZsB3qUaWWTegw/y9UwQbjqD720on9Wpqr6Rr8XqjaBxn+siWRN5io/sQj6w2o74xn2/+rIol+ei/XLtdmMHoayO24xN1dAAv14/0kCqH1L7Atij33grjyFIF3M6fyVlZzruoBTQVLfq/J19lkHtCf6ItjC2f2gorXYgGBfNQaWYz00U/fIHUgtLo/7QtvNsofb+J39jOeG97I4P0Nwu+2Jhn3O1wU0pnnCl99qLpDbYrzch/TaRWVau3khjLG2/1twLImdJn4nWXeBuX5S4Kazr3s0hGF2wBfFPDQU9izg/3nxC6gIT+o+BJvLcdJsio3SDdN2KorEuQrteRJsGXSAgOebBnsDaVkiKy/QDj6V4ZDYdkZ9G5OwsAAGpfDLDkRRwquCW83zUNBicReYOpervdtIDBQg2KbNdb6lIR+5b16+uggeoFV1O/+2dfKYj5MqXwtSRGRwCZ5ArFjWN1ARI3pObjrutsX6PoZdYL6Y4d6UYm7koI+25dkY3GCPCY5KB09ory6zIQ7vvfSHOs4LZZqdS6jDVtCjgWscwwgqEjmOA5uWGYWmf+yDs8="
matrix:
include:
- name: "C++17 build g++-9, xxhash"
env:
- ARCH=amd64
#compiler
- CXX=g++-9
- CC=gcc-9
#build settings
- build_type=Release
- hash_type=xxhash
- SANITIZER=false
- CXX_STANDARD=17
addons:
apt:
packages: ['gcc-9', 'g++-9', 'cmake']
- name: "C++17 build g++-9, fasthash"
env:
- ARCH=amd64
#compiler
- CXX=g++-9
- CC=gcc-9
#build settings
- build_type=Release
- hash_type=fasthash
- SANITIZER=false
- CXX_STANDARD=17
addons:
apt:
packages: ['gcc-9', 'g++-9', 'cmake']
- name: "address sanitizer build, g++-9"
env:
- ARCH=amd64
#compiler
- CXX=g++-9
- CC=gcc-9
#build settings
- build_type=Release
- SANITIZER=true
- CXX_STANDARD=17
addons:
apt:
packages: ['gcc-9', 'g++-9', 'cmake']
- name: "coverage build, g++-9"
env:
- ARCH=amd64
#compiler
- CXX=g++-9
- CC=gcc-9
#build settings
- build_type=Debug
- CXXFLAGS="-O0 -fno-inline --coverage"
- CXX_STANDARD=17
addons:
apt:
packages: ['gcc-9', 'g++-9', 'lcov', 'cmake']
script:
- ./scripts/travis-build.sh
- ./scripts/travis-after-success.sh
- name: "clang build, clang++-10"
compiler: clang++-10
env:
- ARCH=amd64
#compiler
- COMPILER=clang++-10
- CXX=clang++-10
- CC=clang-10
#build settings
- build_type=Release
- CXX_STANDARD=17
- LDFLAGS="-fuse-ld=lld"
addons:
apt:
packages: ['clang-10', 'clang++-10', 'clang-format-10', 'clang-tools-10', 'lld-10', 'cmake']
- name: "mac"
os: osx
osx_image: xcode11.2
compiler: clang
env:
- build_type=Release
install:
- export CXX=$CXX
- export CC=$CC
- export CXX_STANDARD=${CXX_STANDARD:-17}
- export BUILD_TYPE=${build_type}
- export HASH_TYPE=${hash_type}
- cmake --version
- $CXX --version
script:
- ./scripts/travis-build.sh
- ./scripts/travis-test.sh