Skip to content

Commit

Permalink
CI: Cloning astuff_sensor_msgs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Whitley committed Nov 27, 2019
1 parent 46c1e78 commit fe1647a
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:
command: |
apt-get update -qq
source `find /opt/ros -name setup.bash | sort | head -1`
mkdir pacmod_game_control && mv `find -maxdepth 1 -not -name . -not -name pacmod_game_control` pacmod_game_control/
git clone https://github.com/astuff/astuff_sensor_msgs
rosdep install --from-paths . --ignore-src -y
cd ..
catkin init
Expand All @@ -22,13 +24,15 @@ jobs:
- run:
name: Lint
command: |
catkin bt --no-deps --make-args roslint
source `find /opt/ros -name setup.bash | sort | head -1`
cd ..
catkin build pacmod_game_control --no-deps --make-args roslint
- run:
name: Run Tests
command: |
source /opt/ros/kinetic/setup.bash
cd ..
catkin run_tests
catkin run_tests pacmod_game_control
catkin_test_results
working_directory: ~/src

Expand All @@ -42,6 +46,8 @@ jobs:
command: |
apt-get update -qq
source `find /opt/ros -name setup.bash | sort | head -1`
mkdir pacmod_game_control && mv `find -maxdepth 1 -not -name . -not -name pacmod_game_control` pacmod_game_control/
git clone https://github.com/astuff/astuff_sensor_msgs
rosdep install --from-paths . --ignore-src -y
cd ..
catkin init
Expand All @@ -54,13 +60,15 @@ jobs:
- run:
name: Lint
command: |
catkin bt --no-deps --make-args roslint
source `find /opt/ros -name setup.bash | sort | head -1`
cd ..
catkin build pacmod_game_control --no-deps --make-args roslint
- run:
name: Run Tests
command: |
source /opt/ros/melodic/setup.bash
cd ..
catkin run_tests
catkin run_tests pacmod_game_control
catkin_test_results
working_directory: ~/src

Expand Down

0 comments on commit fe1647a

Please sign in to comment.