Skip to content

Commit

Permalink
Update CI scripts (#318)
Browse files Browse the repository at this point in the history
* Explicitly install rosdep
* Install build-essential
  • Loading branch information
at-wat authored May 27, 2020
1 parent bb0d163 commit e7484d3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ script:
--pull=true ${TRAVIS_BUILD_DIR} \
|| (gh-pr-comment "${BUILD_LINK} FAILED on ${ROS_DISTRO_TARGET}" "docker build failed"; false)
- |
docker run --rm -it \
docker run --rm \
-e TRAVIS_PULL_REQUEST \
-e TRAVIS_REPO_SLUG \
-e TRAVIS_BOT_GITHUB_TOKEN \
Expand Down
7 changes: 5 additions & 2 deletions .travis/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,18 @@ RUN sed -e \
-i /etc/apt/sources.list

COPY --from=cloner /repos-manifests/src /catkin_ws/src
RUN rosdep update \
&& apt-get -qq update \
RUN apt-get -qq update \
&& apt-get install -y --no-install-recommends \
build-essential \
curl \
libxml2-utils \
python3-pip \
python3-setuptools \
python-rosdep \
sudo \
wget \
&& rosdep init \
&& rosdep update \
&& rosdep install --from-paths /catkin_ws/src --ignore-src --rosdistro=${ROS_DISTRO} -y \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
Expand Down
2 changes: 1 addition & 1 deletion .travis/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ $result_text</details>"; false)

(cd src/mcl_3dl/;
cp -r /catkin_ws/build ./;
bash <(curl -s https://codecov.io/bash) -y .codecov.yml 2> /dev/null)
bash <(curl -s https://codecov.io/bash) -y .codecov.yml -X gcovout)

gh-pr-comment "${BUILD_LINK} PASSED on ${ROS_DISTRO}" "<details><summary>All tests passed</summary>
Expand Down

0 comments on commit e7484d3

Please sign in to comment.