-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
54 lines (47 loc) · 942 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
language: cpp
notifications:
email:
recipients:
on_success: change # default: change
on_failure: always # default: always
# where do we want to build
matrix:
include:
- os: linux
arch: amd64
compiler: gcc
dist: focal
- os: linux
arch: amd64
compiler: clang
dist: focal
- os: osx
arch: amd64
osx_image: xcode12.2
before_install:
- env | sort
# install:
# - script/install-deps-${TRAVIS_OS_NAME}.sh
before_script:
- mkdir build
- cd build
- cmake --version
- cmake -DBUILD_UNITTESTS=ON ..
- cat g2o/config.h
script:
- make -j $(nproc)
- ctest --extra-verbose
# installing dependencies
addons:
apt: # linux
packages:
- libeigen3-dev
- qtdeclarative5-dev
- qt5-qmake
- libqglviewer-dev-qt5
- libsuitesparse-dev
homebrew: # mac os
packages:
- cmake
- eigen