From e83aeff73b567725f072f9092e1985bf77f59b59 Mon Sep 17 00:00:00 2001 From: Neil Nie Date: Sun, 30 Sep 2018 10:10:40 -0400 Subject: [PATCH] attempting to fix travis CI issues --- .DS_Store | Bin 10244 -> 14340 bytes .travis.yml | 117 ++++++++++++++++++ catkin.options | 6 + dependencies.rosinstall | 6 + ros/.DS_Store | Bin 6148 -> 6148 bytes ros/src/.DS_Store | Bin 14340 -> 12292 bytes ros/src/detection/.DS_Store | Bin 6148 -> 6148 bytes .../object_detection/scripts/.DS_Store | Bin 6148 -> 6148 bytes .../scripts/model_data/.DS_Store | Bin 6148 -> 6148 bytes ros/src/simulation/.DS_Store | Bin 6148 -> 6148 bytes 10 files changed, 129 insertions(+) create mode 100644 .travis.yml create mode 100644 catkin.options create mode 100644 dependencies.rosinstall diff --git a/.DS_Store b/.DS_Store index f8cd7d1d32364d019432588efbae8b486e7aff98..70ded8d3c4fdd56e62966c8617a08f993a369429 100644 GIT binary patch delta 614 zcmd5(y-LGS6h42}=8!(`Qtr09#=p=Ly90Xs${vp+vG)=8I=@1=-_CAG+ zP%=5Gli=nH_zFIOKVMP@M@J8wd;ZUN&bh%}&@+gLZJ)L`h%BfIIFe}<&oz;uj*OLp z1cQN*M9|YjZR%2E$97vyd*m$(%S^~oLP7+3Nk*LM6R*xgt|Sze3-9zJE}r#(S1N19 zX09xT}wj4YGmwsTITO{4UG?dBq#PC<7j3 qrSQ~$|H8z3m&BY|nu)Ib2qsZe^Wwnday7Pk=16>GAO76|RQ3(rf{=Cq delta 234 zcmZoEXbF&DU|?W$DortDU{C-uIe-{M3-C-V6q~3gIoZI3MH0wo&;?>fpg03VHbW*u z9z#4sIYa*DMu{%=i4P<?9#33$hRfm>~=W zZXoRna@fX;- /etc/apt/sources.list.d/ros-latest.list" + - sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116 + - sudo apt-get update -qq + - sudo apt-get install dpkg + - sudo apt-get install -y python-catkin-pkg python-rosdep python-wstool ros-$ROS_DISTRO-catkin + - source /opt/ros/$ROS_DISTRO/setup.bash + # Prepare rosdep to install dependencies. + - sudo rosdep init + - rosdep update + +# Create a catkin workspace with the package under integration. +install: + - mkdir -p ~/catkin_ws/src + - cd ~/catkin_ws/src + - catkin_init_workspace + # Create the devel/setup.bash (run catkin_make with an empty workspace) and + # source it to set the path variables. + - cd ~/catkin_ws + - catkin_make + - source devel/setup.bash + # Add the package under integration to the workspace using a symlink. + - cd ~/catkin_ws/src + - ln -s $CI_SOURCE_PATH . + +# Install all dependencies, using wstool first and rosdep second. +# wstool looks for a ROSINSTALL_FILE defined in the environment variables. +before_script: + # source dependencies: install using wstool. + - cd ~/catkin_ws/src + - wstool init + - if [[ -f $ROSINSTALL_FILE ]] ; then wstool merge $ROSINSTALL_FILE ; fi + - wstool up + # package depdencies: install using rosdep. + - cd ~/catkin_ws + - rosdep install -y --from-paths src --ignore-src --rosdistro $ROS_DISTRO + +# Compile and test (mark the build as failed if any step fails). If the +# CATKIN_OPTIONS file exists, use it as an argument to catkin_make, for example +# to blacklist certain packages. +# +# NOTE on testing: `catkin_make run_tests` will show the output of the tests +# (gtest, nosetest, etc..) but always returns 0 (success) even if a test +# fails. Running `catkin_test_results` aggregates all the results and returns +# non-zero when a test fails (which notifies Travis the build failed). +script: + - source /opt/ros/$ROS_DISTRO/setup.bash + - cd ~/ros/src + - catkin_make $( [ -f $CATKIN_OPTIONS ] && cat $CATKIN_OPTIONS ) + # Run the tests, ensuring the path is set correctly. + - source devel/setup.bash + - catkin_run simulation camera_sim_node \ No newline at end of file diff --git a/catkin.options b/catkin.options new file mode 100644 index 00000000..9cccbc86 --- /dev/null +++ b/catkin.options @@ -0,0 +1,6 @@ + +# NOTE: This is an example source dependency, remove it before adding the +# dependencies.rosinstall file to your repository. +# +# The 'wstool' utility is the preferred way of adding elements to this file. To +# add all repositories from an existing workspace, you can use `wstool scrape`. diff --git a/dependencies.rosinstall b/dependencies.rosinstall new file mode 100644 index 00000000..9cccbc86 --- /dev/null +++ b/dependencies.rosinstall @@ -0,0 +1,6 @@ + +# NOTE: This is an example source dependency, remove it before adding the +# dependencies.rosinstall file to your repository. +# +# The 'wstool' utility is the preferred way of adding elements to this file. To +# add all repositories from an existing workspace, you can use `wstool scrape`. diff --git a/ros/.DS_Store b/ros/.DS_Store index aa1e06b5116dde0afe5ae67336291d35fd07717d..22b3fc061e4f5265cc43f0cc5d4ceafaa44114dd 100644 GIT binary patch delta 698 zcmZ8f&ubG=5T4m>%_dc|Nt4uy;*T6GR6-67c#*ad(NIdFEhVvP*xkIuN4D>+Z?}zU z4^gNGZ-%`n=-G?lAxHm#{uAP#px{9~>D%2%O6D@(%zWSX2HqSOkBe_}%1mPTJU1*{ z%W43C06IVyC@^S35BTVn`bixGqZAat0t39$V-T`(!I6CnNX6!sX>(Jur3?O&dFgK$ z5&_If%VuazrAvSdQrVwUy`ECdg6XG~H+bTIP+le$j*d#Dn^#wEmHZp(Wqjw~Rj&-* zONlDi5MWX3z=>ACk?Gjf^@_#sx{iuEGkYec#S?R9&z(=|sq}m*lgehZxrOY7#fytg zecm*zZb$Ha*1E%OF3R>k+3g70+HwqwvQFJ2FT5>!NSbPgoU+_r1nr5@$1acbIl>^|eYibwV;tj*<<2bA=xPC#>ah;U_| z=m%qidczRHU>#EKKd}vy*i}~Mp2zp<)Z#4KJsJASvL;C2nP2@Gd<{T;ZR0;!ihvIJ z2mok0ZZpnEJik_pdU4QT8P;JFc3`s$hcJYX@CClY34DVe@CRe4<8@rd6}*kBcpodc vfi--9k0QMyFD;Bq<2+8d>l4)+#k8a*FH>IMZ`Ds`)-_320?MeK`KB)qu~2NHo}w@-0|Nsi1A_nqLyBikesWSye$vLmm5hw6lUrE&8Bb0Y zVQt`+sIE3OG1pNrG_aUFk5!g&=HxxB@{F@4FJ({KtiZv}GO@vOGdl-A2hh~bf*jwO UC-aLqasbT*8O*XdLSzjy0R7<|ApigX diff --git a/ros/src/.DS_Store b/ros/src/.DS_Store index eba2e964c78266a10c2673017e73820c54ad3a65..98e3bcd2df145f3fe7140ecba69fc4cc2f5fbc32 100755 GIT binary patch delta 329 zcmZoEXh~3DU|?W$DortDV9)?EIe-{M3-ADmHUdO`Q82MEoh+y#yE#J4k~2{PXbdZZ9?*yshE#?`&z$_^q@4UD zpeWE<25X=zEB=E4kjKEl%@7ZSVCxu4z-&E+0)|RdU5uZBx;S9EHuEU_W#%w3F$Y>~ zY_M5SrI%T$1ZY(%$UIgM0rWaIkZ?uz{>F>%nJ4p`1o8mA2?`trAZ;)?$7JH>xhjmz HY!CwgM#Dvz delta 241 zcmZokXem%&U|?W$DortDU@!nOIe-{M3-ADmHUn`mRae>kO-z(?;)5zi$;~+mf0-w%DSK|-q~gOoaf0r|iPDob1S~es zkSGS4R3^y^G#UsDxPgQ#vimk(e9t_YUnh`<3F3MSkg~}+Iuj@7i`i_RshY|JH%$%z DVRtwt diff --git a/ros/src/detection/.DS_Store b/ros/src/detection/.DS_Store index 2227e9958dc5030a77600d38b04633df05485c5b..f21a690b5451c3fc34fb4230343f38dda1342cc6 100755 GIT binary patch delta 103 zcmZoMXfc=&$(_ki!VnLHdJF}d1v!>8OY<@?FmQu~G8yt1kfa$ZC$D0c-^|Yv!o+xT u@&uL!Zi(t@6BBbC1ruX~$?w=?8D~!BVV7r|HCcx}b@EAeyUlDI|M&sxj2cM* delta 77 zcmZoMXfc=&$sNy-!jQ^P0>sIi1v!>8GxBbBVhLxOe3Yey-N;l&!PwGxasaF2WL-AJ f$?fcptUN%qIg|ZZlqQ?72u?o1Znv48<1aq|7ey3= diff --git a/ros/src/detection/object_detection/scripts/.DS_Store b/ros/src/detection/object_detection/scripts/.DS_Store index 8ee85fbbf8cfea1b6b6000ed0c273c000bc97165..1a25d8fcfd36716f28ba1932e94a2a58da7ce314 100644 GIT binary patch delta 392 zcmZoMXfc=|#>B!ku~2NHo}wrZ0|Nsi1A_nqLncEBLp%`bF%)e6$h@3c8YIOH7RqGE zLzZT!oSefXZ^_4y!jKBol**6{)|$_d#E=E$6?^97Cnx3PCjrd>n$7qbNNfBD0|ti4 zJWTeUTnxDk`Ct=rfOe!XBm&JyMAgM$4b(LQrVGf%s%P>qrhYaP6LTE}lga(e&Z<}y zl?4~&<>cq30}TQCmO*H;50kWJK0^`6w+xkN)~-aeRv4sO9B)qu~2NHo}wrl0|Nsi1A_nqLo!1uLp(zXkSyLPI=0%U>IBu}2tCN|lGMR0Nt+dnpAV^bXk=h#`}q zfT4t;cyc(ayfm6vQh9MfQcivn0|Uc}$ssHaT;kQ$rlvXyCKjfX@3Y7<&Y1j{MP7a; dP#R5RS#VKaPJUiGP=;~xM79N+**X650|2?WC{zFd delta 111 zcmZoMXfc@J&&abeU^g=(&t@JL14e0HhGd2uhD?T3hCGH620b7