-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (43 loc) · 1.11 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
language: cpp
sudo: required
dist: trusty
branches:
only:
- master
- develop
- /^hotfix-.*$/
- /^release-.*$/
matrix:
include:
- os: linux
env: MATRIX_EVAL="COMPILER_NAME=gcc COMPILER_VERSION=7 && CXX=g++-7 && CC=gcc-7"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- george-edison55-precise-backports
packages:
- g++-7
- cmake-data
- cmake
- os: linux
env: MATRIX_EVAL="COMPILER_NAME=clang && COMPILER_VERSION=6.0 && CXX=clang++-6.0 && CC=clang-6.0"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-trusty-6.0
- george-edison55-precise-backports
packages:
- clang-6.0
- cmake-data
- cmake
before_install:
- eval "${MATRIX_EVAL}"
install:
- pip install requests[security] --user
- pip install conan --user
- conan config install .conan-settings.zip
- conan install . --build missing
script:
- mkdir build && cd build && cmake .. && cmake --build . && ctest