mirror of
https://github.com/wjwwood/serial.git
synced 2026-01-22 11:44:53 +08:00
ci: .travis.yml: Refactor, add working focal and xenial builds.
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 travis
This commit is contained in:
parent
a56c97e49c
commit
a459c7cdee
59
.travis.yml
59
.travis.yml
@ -1,11 +1,52 @@
|
||||
os:
|
||||
- linux
|
||||
- osx
|
||||
---
|
||||
language: cpp
|
||||
install:
|
||||
- make install_deps
|
||||
- source setup.bash
|
||||
script:
|
||||
- mkdir build && cd build && cmake .. -DPYTHON_EXECUTABLE=$(which python2) && make && make tests && make run_tests
|
||||
- catkin_test_results .
|
||||
matrix:
|
||||
include:
|
||||
- os: linux
|
||||
dist: focal
|
||||
compiler: gcc
|
||||
script:
|
||||
- sudo apt update
|
||||
- >
|
||||
sudo apt install
|
||||
build-essential cmake doxygen graphviz googletest libgtest-dev
|
||||
- mkdir build && cd build
|
||||
- cmake -DDISABLE_CATKIN=ON ..
|
||||
- make
|
||||
- make test
|
||||
- os: linux
|
||||
dist: xenial
|
||||
compiler: gcc
|
||||
script:
|
||||
- sudo apt update
|
||||
- >
|
||||
sudo apt install
|
||||
build-essential catkin cmake doxygen graphviz libgtest-dev
|
||||
- mkdir build && cd build
|
||||
- cmake -DDISABLE_CATKIN=OFF -DCATKIN_ENABLE_TESTING=OFF ..
|
||||
- make
|
||||
|
||||
|
||||
# Does not build, breaks in make install_deps.
|
||||
# - os: linux
|
||||
# dist: precise
|
||||
# compiler: gcc
|
||||
# install:
|
||||
# - make install_deps
|
||||
# - source setup.bash
|
||||
# script:
|
||||
# - mkdir build && cd build
|
||||
# - cmake -DPYTHON_EXECUTABLE=$(which python2) ..
|
||||
# - make
|
||||
# - make test
|
||||
|
||||
# - os: osx
|
||||
# compiler: clang
|
||||
# install:
|
||||
# - make install_deps
|
||||
# - source setup.bash
|
||||
# script:
|
||||
# - mkdir build && cd build
|
||||
# - cmake -DPYTHON_EXECUTABLE=$(which python2) ..
|
||||
# - make
|
||||
# - make run_tests
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user