forked from reinterpretcat/utymap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (45 loc) · 1.17 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
sudo: false
language: cpp
os: linux
dist: precise
mono:
- latest
compiler:
- gcc
- clang
install:
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.9" CC="gcc-4.9"; fi
- if [ "$CXX" = "clang++" ]; then export CXX="clang++-3.7" CC="clang-3.7"; fi
addons:
apt:
sources:
- kalakris-cmake
- george-edison55-precise-backports # cmake 3.x
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.7
- boost-latest
packages:
- cmake
- cmake-data
- zlib1g-dev
- libprotobuf-dev
- protobuf-compiler
- libboost1.55-all-dev
- gcc-4.9
- g++-4.9
- clang-3.7
- mono-complete
- nunit-console
before_script:
- cd core
- mkdir build
- cd build
script:
- cmake -DCMAKE_BUILD_TYPE=Release ..
- make
- cd test
- ctest -V
- cd ../../../unity/library
- xbuild /p:Configuration=Debug UtyMap.Unity.sln
- cp ../../core/build/shared/libUtyMap.Shared.so UtyMap.Unity.Tests/bin/Debug/
- nunit-console -noshadow UtyMap.Unity.Tests/bin/Debug/UtyMap.Unity.Tests.exe