-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
53 lines (43 loc) · 1.11 KB
/
.travis.yml
File metadata and controls
53 lines (43 loc) · 1.11 KB
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
dist: xenial
language: cpp
os:
- linux
- osx
compiler:
- gcc
- clang
env:
# - TARGET_CPU=amd64 BUILD_CONFIGURATION=Debug
- TARGET_CPU=amd64 BUILD_CONFIGURATION=Release
# - TARGET_CPU=x86 BUILD_CONFIGURATION=Debug
- TARGET_CPU=x86 BUILD_CONFIGURATION=Release
matrix:
exclude:
- os: osx
compiler: gcc
- os: osx
env: TARGET_CPU=amd64 BUILD_CONFIGURATION=Release
- os: osx
env: TARGET_CPU=x86 BUILD_CONFIGURATION=Release
linux: &linux
os: linux
sudo: required
language: python
python: "3.7"
install:
- sudo apt-get update -qq
- sudo apt-get install python3-pip -y
- sudo apt-get install python3-setuptools -y
- sudo python3 -m pip install --upgrade pip
- sudo python3 -m pip install conan
- conan user
- conan --version
- conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan
script:
- mkdir build
- cd build
- conan install .. -s compiler.libcxx=libstdc++11 --build=missing
- cmake .. -DCMAKE_BUILD_TYPE=$BUILD_CONFIGURATION -DTARGET_CPU=$TARGET_CPU
- cmake --build . --config Release
# - ctest -C Debug
- ctest -C Release