Skip to content

Commit 6dd5782

Browse files
committed
ci: .travis.yml: Refactor, add working focal build.
The existing targets for precise and osx breaks, both on dependencies. Seems to be about the 'rosdep install' command in the Makefile(?), which is beyond my current scope. Add a new target for Ubuntu focal which works after refactoring the .travis.yml file. Gbp-Pq: Name 0011-ci-.travis.yml-Refactor-add-working-focal-build.patch
1 parent 4a34b19 commit 6dd5782

File tree

1 file changed

+31
-9
lines changed

1 file changed

+31
-9
lines changed

.travis.yml

Lines changed: 31 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,32 @@
1-
os:
2-
- linux
3-
- osx
41
language: cpp
5-
install:
6-
- make install_deps
7-
- source setup.bash
8-
script:
9-
- mkdir build && cd build && cmake .. -DPYTHON_EXECUTABLE=$(which python2) && make && make tests && make run_tests
10-
- catkin_test_results .
2+
matrix:
3+
include:
4+
- os: linux
5+
dist: focal
6+
compiler: gcc
7+
script:
8+
- sudo apt update
9+
- >
10+
sudo apt install build-essential
11+
catkin cmake doxygen graphviz libboost-dev
12+
- mkdir build && cd build
13+
- cmake ..
14+
- make
15+
- make run_tests
16+
17+
- os: linux
18+
dist: precise
19+
compiler: gcc
20+
install:
21+
- make install_deps
22+
- source setup.bash
23+
script:
24+
- make && make test
25+
26+
- os: osx
27+
compiler: clang
28+
install:
29+
- make install_deps
30+
- source setup.bash
31+
script:
32+
- make && make test

0 commit comments

Comments
 (0)