Preserve environment

This commit is contained in:
Oleg Kalachev
2022-11-05 00:14:10 +06:00
parent b2c98ba502
commit 71f2d69139

View File

@@ -112,7 +112,7 @@ my_travis_retry pip3 install wheel
my_travis_retry pip3 install -r /home/pi/catkin_ws/src/clover/clover/requirements.txt
source /opt/ros/${ROS_DISTRO}/setup.bash
# Don't build simulation plugins for actual drone
sudo -u pi catkin_make -j2 -DCMAKE_BUILD_TYPE=RelWithDebInfo
sudo -E -u pi catkin_make -j2 -DCMAKE_BUILD_TYPE=RelWithDebInfo
source devel/setup.bash
echo_stamp "Install clever package (for backwards compatibility)"