This repository has been archived by the owner on Sep 25, 2021. It is now read-only.
forked from DEGoodmanWilson/engine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
118 lines (99 loc) · 2.73 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
114
115
116
117
118
language: cpp
sudo: false
cache: ccache
compiler: clang
# gcc 4.9 default
addons: &addons
apt:
packages: &packages
- g++-4.9
- clang-format-3.7
- python-pip
- libssl-dev
- curl
- cmake
- cmake-data
sources: &sources
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.5
- llvm-toolchain-precise-3.6
- llvm-toolchain-precise-3.7
- llvm-toolchain-precise-3.8
- george-edison55-precise-backports # cmake 3.2.3 / doxygen 1.8.3
env:
matrix:
- COMPILER=g++-4.9 CCOMPILER=gcc-4.9
install:
- export CXX=$COMPILER CC=$CCOMPILER
# Install cmake and conan
- if [ "$IS_APPLE" == "YES" ]; then brew update && brew install conan; else pip install --user conan; fi
- if [ "$BREW_CMAKE" == "ON" ]; then brew install cmake; fi
- cmake --version
- conan --version
# Automatic detection of your arch, compiler, etc
- if [ "$GENERATE_COVERAGE" == "ON" ]; then conan install -o build_engine_tests=True -o build_engine_coverage=True -s build_type=Debug --build=missing; else conan install -o build_engine_tests=True --build=missing; fi
script:
- conan build
after_success:
- if [ "$GENERATE_COVERAGE" == "ON" ]; then ./bin/engine_tests; bash <(curl -s https://codecov.io/bash); fi
matrix:
include:
# gcc 5
- env: COMPILER=g++-5 CCOMPILER=gcc-5
addons:
apt:
packages:
- g++-5
- libssl-dev
- curl
- cmake
- cmake-data
sources: *sources
# Clang 3.6
- env: COMPILER=clang++-3.6 CCOMPILER=clang-3.6
addons:
apt:
packages:
- clang-3.6
- libssl-dev
- curl
- cmake
- cmake-data
sources: *sources
# Clang 3.7
- env: COMPILER=clang++-3.7 CCOMPILER=clang-3.7
addons:
apt:
packages:
- clang-3.7
- libssl-dev
- curl
- cmake
- cmake-data
sources: *sources
# Clang 3.8
- env: COMPILER=clang++-3.8 CCOMPILER=clang-3.8
addons:
apt:
packages:
- clang-3.8
- libssl-dev
- curl
- cmake
- cmake-data
sources: *sources
# Xcode 6.4
- os: osx
env: COMPILER=clang++ CCOMPILER=clang IS_APPLE=YES
osx_image: xcode6.4
# Xcode 7
- os: osx
env: COMPILER=clang++ CCOMPILER=clang IS_APPLE=YES BREW_CMAKE=ON
osx_image: xcode7
# Xcode 8
- os: osx
env: COMPILER=clang++ CCOMPILER=clang IS_APPLE=YES GENERATE_COVERAGE=ON
osx_image: xcode8
# at the moment, gcc5 is failing on libmagic :(
allow_failures:
- env: COMPILER=g++-5 CCOMPILER=gcc-5