-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewrite Travis CI now that Indigo is EOL (#545)
* Remove Indigo from Travis CI, tweak some other settings
- Loading branch information
Showing
1 changed file
with
34 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |