Skip to content
Snippets Groups Projects
Commit c0963c8f authored by Steven Macenski's avatar Steven Macenski
Browse files

changing docker file & removing travis

parent 8c1a8e6e
No related branches found
No related tags found
No related merge requests found
sudo: required
language:
- none
services:
- docker
notifications:
email:
on_pull_requests: false
on_success: change
on_failure: change
recipients:
- stevenmacenski@gmail.com
- mohammad.haghighipanah@intel.com
- michael.jeronimo@intel.com
- carlos.a.orduno@intel.com
- carl.r.delsey@intel.com
- matthew.k.hansen@intel.com
before_install:
- if [ "${TRAVIS_REPO_SLUG}" != "ros-planning/navigation2" ];
then echo "Travis CI is supported only in ros-planning/navigation2" && exit 1;
fi
matrix:
include:
- env: CMAKE_BUILD_TYPE=Release COVERAGE_ENABLED=False
after_success:
- if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
echo "Successfully built! Deploying container..."
docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD ;
docker tag navigation2:latest stevemacenski/navigation2:latest
docker push stevemacenski/navigation2:latest ;
fi
# - env: CMAKE_BUILD_TYPE=Debug COVERAGE_ENABLED=True
# after_success:
# - ci_env=`bash <(curl -s https://codecov.io/env)`
# - docker exec --interactive --tty $ci_env nav2_bash /ros_entrypoint.sh
# src/navigation2/tools/code_coverage_report.bash codecovio
script:
- docker build --tag navigation2:latest
--build-arg PULLREQ=$TRAVIS_PULL_REQUEST
--build-arg CMAKE_BUILD_TYPE
--build-arg COVERAGE_ENABLED
./
- docker run --rm --detach --name nav2_bash navigation2:latest
sleep infinity
- docker exec --interactive --tty nav2_bash /ros_entrypoint.sh
src/navigation2/tools/run_test_suite.bash
......@@ -6,12 +6,8 @@ ROS2 Navigation System
[![Build Status](https://img.shields.io/docker/cloud/build/rosplanning/navigation2.svg?label=build)](https://hub.docker.com/r/rosplanning/navigation2) DockerHub
[![Build Status](https://travis-ci.org/ros-planning/navigation2.svg?branch=master)](https://travis-ci.org/ros-planning/navigation2) Travis
[![Build Status](http://build.ros2.org/job/Cdev__navigation2__ubuntu_bionic_amd64/badge/icon)](http://build.ros2.org/job/Cdev__navigation2__ubuntu_bionic_amd64/) ROS Build Farm
[![Pulls](https://shields.beevelop.com/docker/pulls/stevemacenski/navigation2.svg?style=flat-square)](https://hub.docker.com/r/stevemacenski/navigation2)
[![codecov](https://codecov.io/gh/ros-planning/navigation2/branch/master/graph/badge.svg)](https://codecov.io/gh/ros-planning/navigation2)
# Overview
......@@ -44,5 +40,5 @@ https://development.robinwinslow.uk/2016/06/23/fix-docker-networking-dns/
We allow for you to pull the latest docker image from the master branch at any time. As new releases and tags are made, docker containers on docker hub will be versioned as well to chose from.
```
sudo docker pull stevemacenski/navigation2:latest
sudo docker pull rosplanning/navigation2:latest
```
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment