1
0
mirror of https://github.com/wjwwood/serial.git synced 2026-01-22 11:44:53 +08:00
serial/.travis.yml
Alec Leamas a459c7cdee 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
2020-09-29 12:33:33 +02:00

53 lines
1.2 KiB
YAML

---
language: cpp
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