Skip to content

mtuduri/docker-travis-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

docker-travis-demo Build Status

A simple demo showing Travis with Docker.

Demo description

The idea of this demo is to show how we can use Docker in Travis.

First of all we need to include Docker as a service in order to be able to use it in Travis, thus:

		services:
			-docker

Then we can use docker as usual:

script:
  - docker pull mtuduri/riga:1.0
  - docker run -d mtuduri/riga:1.0
  - docker ps
  - echo "Image built and running"

In this case an image is pulled from docker hub and creates a container using it. Finally shows the container running and a success message.

Usage

About

A simple demo showing Travis with Docker.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •