Skip to content

Commit

Permalink
Rewrite Travis CI now that Indigo is EOL (#545)
Browse files Browse the repository at this point in the history
* Remove Indigo from Travis CI, tweak some other settings
  • Loading branch information
pjreed authored May 22, 2019
1 parent 549561e commit 14b4a1f
Showing 1 changed file with 34 additions and 24 deletions.
58 changes: 34 additions & 24 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,45 @@
sudo: required
dist: trusty
language: generic
dist: xenial
language: cpp
compiler:
- gcc

notifications:
email:
on_success: always
on_failure: always

install: git clone https://github.com/ros-industrial/industrial_ci.git .ci_config
script: source .ci_config/travis.sh
cache:
directories:
- $HOME/.ccache

env:
global:
- ROS_REPO=ros
- CCACHE_DIR=$HOME/.ccache
matrix:
- ROS_DISTRO="kinetic" ROS_REPO="ros-shadow-fixed"
- ROS_DISTRO="kinetic"
- ROS_DISTRO="lunar" ROS_REPO="ros-shadow-fixed"
- ROS_DISTRO="lunar"
- ROS_DISTRO="melodic" ROS_REPO="ros-shadow-fixed"
- ROS_DISTRO="melodic"

jobs:
matrix:
include:
- stage: build-shadow-fixed
env: ROS_DISTRO="indigo" ROS_REPOSITORY_PATH=http://packages.ros.org/ros-shadow-fixed/ubuntu
- env: ROS_DISTRO="kinetic" ROS_REPOSITORY_PATH=http://packages.ros.org/ros-shadow-fixed/ubuntu
- env: ROS_DISTRO="lunar" ROS_REPOSITORY_PATH=http://packages.ros.org/ros-shadow-fixed/ubuntu
- env: ROS_DISTRO="melodic" ROS_REPOSITORY_PATH=http://packages.ros.org/ros-shadow-fixed/ubuntu
- stage: build-released
env: ROS_DISTRO="indigo" ROS_REPOSITORY_PATH=http://packages.ros.org/ros/ubuntu
- env: ROS_DISTRO="kinetic" ROS_REPOSITORY_PATH=http://packages.ros.org/ros/ubuntu
- env: ROS_DISTRO="lunar" ROS_REPOSITORY_PATH=http://packages.ros.org/ros/ubuntu
- env: ROS_DISTRO="melodic" ROS_REPOSITORY_PATH=http://packages.ros.org/ros/ubuntu
- stage: lint
sudo: false
install: pip install --user -q catkin-lint
- language: python
python: 3.7
install:
- pip install -q catkin-lint rosdep
- sudo $(which rosdep) init
- rosdep update
script: catkin_lint -W2 --explain .
env: JOB="catkin_lint"
env: JOB="catkin_lint" ROS_DISTRO="kinetic"
allow_failures:
- env: ROS_DISTRO="indigo" ROS_REPOSITORY_PATH=http://packages.ros.org/ros/ubuntu
- env: ROS_DISTRO="kinetic" ROS_REPOSITORY_PATH=http://packages.ros.org/ros/ubuntu
- env: ROS_DISTRO="lunar" ROS_REPOSITORY_PATH=http://packages.ros.org/ros/ubuntu
- env: ROS_DISTRO="melodic" ROS_REPOSITORY_PATH=http://packages.ros.org/ros/ubuntu
- env: JOB="catkin_lint"
- env: ROS_DISTRO="kinetic"
- env: ROS_DISTRO="lunar"
- env: ROS_DISTRO="melodic"
- env: JOB="catkin_lint" ROS_DISTRO="kinetic"

install: git clone https://github.com/ros-industrial/industrial_ci.git .ci_config
script: source .ci_config/travis.sh

0 comments on commit 14b4a1f

Please sign in to comment.