diff --git a/.travis.yml b/.travis.yml index 6ca2043..2f4b93e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,20 +1,21 @@ -# This config file for Travis CI utilizes ros-industrial/industrial_ci package. -# For more info for the package, see https://github.com/ros-industrial/industrial_ci/blob/master/README.rst -sudo: required -dist: trusty -services: - - docker -language: generic -compiler: - - gcc +sudo: required +dist: trusty +language: generic + +cache: + directories: + - $HOME/.ccache + env: + global: + - CCACHE_DIR=$HOME/.ccache matrix: - - ROS_DISTRO="indigo" ROS_REPOSITORY_PATH=http://packages.ros.org/ros/ubuntu NOT_TEST_BUILD=true NOT_TEST_INSTALL=true - - ROS_DISTRO="indigo" ROS_REPOSITORY_PATH=http://packages.ros.org/ros-shadow-fixed/ubuntu NOT_TEST_BUILD=true NOT_TEST_INSTALL=true - - ROS_DISTRO="kinetic" ROS_REPOSITORY_PATH=http://packages.ros.org/ros/ubuntu NOT_TEST_INSTALL=true - - ROS_DISTRO="kinetic" ROS_REPOSITORY_PATH=http://packages.ros.org/ros-shadow-fixed/ubuntu NOT_TEST_INSTALL=true + - ROS_DISTRO="indigo" ROS_REPO=ros NOT_TEST_BUILD=true NOT_TEST_INSTALL=true + - ROS_DISTRO="indigo" ROS_REPO=ros-shadow-fixed NOT_TEST_BUILD=true NOT_TEST_INSTALL=true + - ROS_DISTRO="kinetic" ROS_REPO=ros NOT_TEST_BUILD=true NOT_TEST_INSTALL=true + - ROS_DISTRO="kinetic" ROS_REPO=ros-shadow-fixed NOT_TEST_BUILD=true NOT_TEST_INSTALL=true + install: - - git clone https://github.com/ros-industrial/industrial_ci.git .ci_config -script: - - source .ci_config/travis.sh -# - source ./travis.sh # Enable this when you have a package-local script + - git clone --depth=1 https://github.com/ros-industrial/industrial_ci.git .ci_config +script: + - .ci_config/travis.sh