Skip to content

Commit b899c6d

Browse files
committed
setup travis-ci
1 parent 333a247 commit b899c6d

File tree

3 files changed

+28
-2
lines changed

3 files changed

+28
-2
lines changed

.travis.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
language: ruby
22
rvm:
3-
- 1.9.3
4-
before_install: gem install bundler -v 1.11.2
3+
- 2.2
4+
before_install:
5+
- gem install bundler -v 1.11.2
6+
- docker pull registry:2.5
7+
- docker run -d -p 127.0.0.1:5000:5000 -v "$(pwd)/spec/registry.config.yml:/etc/docker/registry/config.yml" registry:2.5
8+
sudo: required
9+
services:
10+
- docker

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
Simple swipley/docker-api like API client for docker-distribution with limited support of endpoints
44

5+
6+
[![Build Status](https://travis-ci.org/bazilio91/docker-distribution-api.svg?branch=master)](https://travis-ci.org/bazilio91/docker-distribution-api)
7+
58
## Installation
69

710
Add this line to your application's Gemfile:

spec/registry.config.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
version: 0.1
2+
log:
3+
level: debug
4+
formatter: text
5+
fields:
6+
service: registry
7+
storage:
8+
cache:
9+
blobdescriptor: inmemory
10+
filesystem:
11+
rootdirectory: /var/lib/registry
12+
delete:
13+
enabled: true
14+
http:
15+
addr: :5000
16+
headers:
17+
X-Content-Type-Options: [nosniff]

0 commit comments

Comments
 (0)