forked from autowarefoundation/autoware
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request autowarefoundation#1275 from CPFL/release/1.7.0
Release/1.7.0
- Loading branch information
Showing
1,367 changed files
with
217,328 additions
and
33,043 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 |
---|---|---|
@@ -0,0 +1,85 @@ | ||
language: | ||
- generic | ||
cache: | ||
- apt | ||
matrix: | ||
include: | ||
- dist: xenial | ||
compiler: gcc | ||
os: linux | ||
sudo: required | ||
env: ROS_DISTRO=kinetic | ||
- dist: trusty | ||
compiler: gcc | ||
os: linux | ||
sudo: required | ||
env: ROS_DISTRO=indigo | ||
notifications: | ||
slack: star4:911NA0lU8gDHitCKLto9LzPJ | ||
env: | ||
global: | ||
- ROS_CI_DESKTOP="`lsb_release -cs`" | ||
- CI_SOURCE_PATH=$(pwd) | ||
- ROSINSTALL_FILE=$CI_SOURCE_PATH/dependencies.rosinstall | ||
- CATKIN_OPTIONS=$CI_SOURCE_PATH/catkin.options | ||
- PYTHONPATH=$PYTHONPATH:/usr/lib/python2.7/dist-packages:/usr/local/lib/python2.7/dist-packages | ||
|
||
# Install system dependencies, and Autoware pre requisites (non-ros) | ||
before_install: | ||
- sudo sh -c "echo \"deb http://packages.ros.org/ros/ubuntu $ROS_CI_DESKTOP main\" > /etc/apt/sources.list.d/ros-latest.list" | ||
- sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116 | ||
# Autoware pre requisites should be installed automatically by rosdep not in here | ||
- sudo apt-get update | ||
- sudo apt-get install -y python-catkin-pkg python-rosdep python-wstool ros-$ROS_DISTRO-catkin | ||
- source /opt/ros/$ROS_DISTRO/setup.bash | ||
- sudo rosdep init | ||
- rosdep update | ||
|
||
# Create a catkin workspace with the package under integration. | ||
install: | ||
- cd ros/src | ||
- catkin_init_workspace | ||
- cd .. | ||
|
||
# Install all ros dependencies, using wstool first and rosdep second. | ||
# wstool looks for a ROSINSTALL_FILE defined in the environment variables. | ||
before_script: | ||
# source dependencies: install using wstool. | ||
- cd src | ||
- wstool init | ||
- if [[ -f $ROSINSTALL_FILE ]] ; then wstool merge $ROSINSTALL_FILE ; fi | ||
- wstool up | ||
# package depdencies: install using rosdep. | ||
- cd .. | ||
- rosdep install -y --from-paths src --ignore-src --rosdistro $ROS_DISTRO | ||
|
||
# Compile and test (mark the build as failed if any step fails). If the | ||
# CATKIN_OPTIONS file exists, use it as an argument to catkin_make, for example | ||
# to blacklist certain packages. | ||
# | ||
# NOTE on testing: `catkin_make run_tests` will show the output of the tests | ||
# (gtest, nosetest, etc..) but always returns 0 (success) even if a test | ||
# fails. Running `catkin_test_results` aggregates all the results and returns | ||
# non-zero when a test fails (which notifies Travis the build failed). | ||
script: | ||
- catkin_make clean | ||
- source devel/setup.bash | ||
- catkin_make -j4 | ||
|
||
#sudo: required | ||
#dist: trusty | ||
#language: generic | ||
#compiler: | ||
# - gcc | ||
#notifications: | ||
# slack: star4:911NA0lU8gDHitCKLto9LzPJ | ||
#env: | ||
# matrix: | ||
# - USE_DEB=true ROS_DISTRO="indigo" ROS_REPOSITORY_PATH=http://packages.ros.org/ros/ubuntu | ||
## - USE_DEB=true ROS_DISTRO="indigo" ROS_REPOSITORY_PATH=http://packages.ros.org/ros-shadow-fixed/ubuntu | ||
# - USE_DEB=true ROS_DISTRO="kinetic" ROS_REPOSITORY_PATH=http://packages.ros.org/ros/ubuntu | ||
## - USE_DEB=true ROS_DISTRO="kinetic" ROS_REPOSITORY_PATH=http://packages.ros.org/ros-shadow-fixed/ubuntu | ||
#install: | ||
# - git clone https://github.com/ros-industrial/industrial_ci.git .ci_config | ||
#script: | ||
# - source .ci_config/travis.sh |
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
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
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
Oops, something went wrong.