forked from irov/libmovie
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (30 loc) · 938 Bytes
/
.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
dist: trusty
sudo: required
language: c
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=x86 BUILD_CONFIGURATION=Debug
- os: osx
env: TARGET_CPU=x86 BUILD_CONFIGURATION=Release
script:
# скрипт сборки и тестирования проекта:
- mkdir build_cmake
- cd build_cmake
- cmake .. -DCMAKE_BUILD_TYPE=$BUILD_CONFIGURATION -DTARGET_CPU=$TARGET_CPU -DLIBMOVIE_EXAMPLES_BUILD:BOOL=FALSE
- cmake --build .
- ctest --output-on-failure