-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
67 lines (55 loc) · 2.07 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
git:
depth: 1
matrix:
include:
- name: "locking-container, tests -- linux, release with debug info, g++, 64-bit"
os: linux
dist: xenial
language: cpp
env: BUILD_TYPE="RelWithDebInfo"
compiler: g++
sudo: required
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-9
install: export CXX="g++-9"
script:
- set -e
- cmake -Bbuild -H. -DCMAKE_BUILD_TYPE:STRING=$BUILD_TYPE
- cmake --build build --config $BUILD_TYPE
- cmake -Bbuild/tests/unit -Htests/unit
-Dlocking_container_DIR:PATH=$(pwd)/build
-DCMAKE_BUILD_TYPE:STRING=$BUILD_TYPE
- cmake --build build/tests/unit --target run-all-tests-verbose --config $BUILD_TYPE -- -j $(nproc)
- set +e
- name: "locking-container tests -- osx, release with debug info, clang++, 64-bit"
os: osx
osx_image: xcode10.1
language: cpp
env: BUILD_TYPE="RelWithDebInfo"
compiler: clang++
script:
- set -e
- cmake -Bbuild -H. -DCMAKE_BUILD_TYPE:STRING=$BUILD_TYPE
- cmake --build build --config $BUILD_TYPE
- cmake -Bbuild/tests/unit -Htests/unit
-Dlocking_container_DIR:PATH=$(pwd)/build
-DCMAKE_BUILD_TYPE:STRING=$BUILD_TYPE
- cmake --build build/tests/unit --target run-all-tests-verbose --config $BUILD_TYPE -- -j $(nproc)
- set +e
- name: "locking-container, tests -- windows, release, msvc, 32-bit"
os: windows
language: cpp
env: BUILD_TYPE="Release"
script:
- set -e
- cmake -Bbuild -H. -DCMAKE_BUILD_TYPE:STRING=$BUILD_TYPE
- cmake --build build --config $BUILD_TYPE
- cmake -Bbuild/tests/unit -Htests/unit
-Dlocking_container_DIR:PATH=$(pwd)/build
-DCMAKE_BUILD_TYPE:STRING=$BUILD_TYPE
- cmake --build build/tests/unit --target run-all-tests-verbose --config $BUILD_TYPE
- set +e