forked from superjax/UBLOX_read
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
38 lines (32 loc) · 810 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
dist: "bionic"
language: cpp
git:
submodules: false
addons:
apt:
packages:
- build-essential
- cmake
- libgtest-dev
- libeigen3-dev
- libyaml-cpp-dev
update: true
before_install:
- sudo apt update
- sudo apt install -y cmake build-essential libgtest-dev libeigen3-dev libyaml-cpp-dev
- sudo apt install -y libopenblas-dev libboost-thread-dev
- sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules
- git submodule update --init --recursive
install:
- cd /usr/src/gtest
- sudo cmake CMakeLists.txt
- sudo make
- sudo cp *.a /usr/lib
- cd "${TRAVIS_BUILD_DIR}"
- gcc --version
script:
- mkdir build
- cd build
- cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=ON -DBUILD_EXAMPLES=ON -DBUILD_ROS=OFF
- make
- ./ublox_test