sudo: required
dist: trusty
language: generic

compiler:
  - gcc

notifications:
  email:
    on_failure: never

env:
  matrix:
    - USE_DEB=true
      ROS_DISTRO="indigo"
      ROS_REPOSITORY_PATH=http://packages.ros.org/ros/ubuntu
      NOT_TEST_BUILD=true
      NOT_TEST_INSTALL=true
    - USE_DEB=true
      ROS_DISTRO="indigo"
      ROS_REPOSITORY_PATH=http://packages.ros.org/ros-shadow-fixed/ubuntu
      NOT_TEST_BUILD=true
      NOT_TEST_INSTALL=true

install:
  - git clone https://github.com/ros-industrial/industrial_ci.git .ci_config
  - git clone https://github.com/InstitutMaupertuis/advanced_industrial_ci.git .advanced_ci_config
  - git clone https://github.com/davetcoleman/rviz_visual_tools.git

script:
  - cd .advanced_ci_config && source ./travis_pcl.sh && cd ..
  - source .ci_config/travis.sh

sudo: required
dist: trusty
language: generic

compiler:
  - gcc

notifications:
  email:
    on_failure: never

env:
  matrix:
    - USE_DEB=true
      ROS_DISTRO="indigo"
      ROS_REPOSITORY_PATH=http://packages.ros.org/ros/ubuntu
      NOT_TEST_BUILD=true
      NOT_TEST_INSTALL=true
    - USE_DEB=true
      ROS_DISTRO="indigo"
      ROS_REPOSITORY_PATH=http://packages.ros.org/ros-shadow-fixed/ubuntu
      NOT_TEST_BUILD=true
      NOT_TEST_INSTALL=true

install:
  - git clone https://github.com/ros-industrial/industrial_ci.git .ci_config
  - git clone https://github.com/InstitutMaupertuis/advanced_industrial_ci.git .advanced_ci_config
  - git clone https://github.com/davetcoleman/rviz_visual_tools.git
  - sed -i 's/find_package(Eigen3 REQUIRED)//g' rviz_visual_tools/CMakeLists.txt # Remove find_package for Eigen

script:
  - cd .advanced_ci_config && source ./travis_pcl.sh && cd ..
  - source .ci_config/travis.sh

Fix Travis with latest rviz_visual_tools
Fix Travis with latest rviz_visual_tools
