also check *.h files
This commit is contained in:
parent
15b11c3bb5
commit
191479e416
1 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ before_install:
|
||||||
- sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu precise main" > /etc/apt/sources.list.d/ros-latest.list'
|
- sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu precise main" > /etc/apt/sources.list.d/ros-latest.list'
|
||||||
- sudo apt-key adv --keyserver hkp://pool.sks-keyservers.net --recv-key 0xB01FA116
|
- sudo apt-key adv --keyserver hkp://pool.sks-keyservers.net --recv-key 0xB01FA116
|
||||||
- sudo apt-get update -qq
|
- sudo apt-get update -qq
|
||||||
- sudo apt-get install -qq -y python-rosdep python-rosinstall-generator python-wstool python-rosinstall build-essential python-catkin-pkg python-rosdep
|
- sudo apt-get install -qq -y python-rosdep python-rosinstall-generator python-wstool python-rosinstall build-essential python-catkin-pkg
|
||||||
- sudo rosdep init
|
- sudo rosdep init
|
||||||
- rosdep update
|
- rosdep update
|
||||||
- sudo apt-get install ros-${ROS_DISTRO}-ros-base
|
- sudo apt-get install ros-${ROS_DISTRO}-ros-base
|
||||||
|
@ -33,7 +33,7 @@ before_script: # Use this to prepare your build for testing e.g. copy database c
|
||||||
- source /opt/ros/${ROS_DISTRO}/setup.bash
|
- source /opt/ros/${ROS_DISTRO}/setup.bash
|
||||||
- cd ~/hand_control_ws
|
- cd ~/hand_control_ws
|
||||||
- cd src
|
- cd src
|
||||||
- cpplint *.hpp *.cpp
|
- cpplint *.hpp *.cpp *.h
|
||||||
- cd ..
|
- cd ..
|
||||||
script: # All commands must exit with code 0 on success. Anything else is considered failure.
|
script: # All commands must exit with code 0 on success. Anything else is considered failure.
|
||||||
- catkin_make -j2
|
- catkin_make -j2
|
||||||
|
|
Loading…
Reference in a new issue