forked from ompl/ompl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
64 lines (61 loc) · 1.38 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
language: cpp
matrix:
include:
- os: linux
dist: bionic
compiler: gcc
addons:
apt:
packages:
- libboost-filesystem-dev
- libboost-program-options-dev
- libboost-serialization-dev
- libboost-system-dev
- libboost-test-dev
- libeigen3-dev
- libflann-dev
- libode-dev
- ninja-build
- os: linux
dist: xenial
compiler: gcc
addons:
apt:
packages:
- libboost-filesystem-dev
- libboost-program-options-dev
- libboost-serialization-dev
- libboost-system-dev
- libboost-test-dev
- libeigen3-dev
- libflann-dev
- libode-dev
- ninja-build
- os: osx
osx_image: xcode10.3
compiler: clang
addons:
homebrew:
packages:
- eigen
- flann
- ninja
update: true
- os: linux
services:
- docker
env: DOCKERFILE="debian-buster"
before_install:
- if [ -n "$DOCKERFILE" ]; then
docker build -t "$DOCKERFILE" -f "scripts/docker/$DOCKERFILE.Dockerfile" .;
fi
script:
- if [ -n "$DOCKERFILE" ]; then
docker run "$DOCKERFILE" /bin/sh -c "cmake -DOMPL_REGISTRATION=OFF .. && make -j `nproc` && ctest";
else
mkdir -p build &&
cd build &&
cmake -G Ninja -DOMPL_REGISTRATION=OFF .. &&
cmake --build . &&
ctest;
fi