Skip to content

Commit e498ecd

Browse files
authored
Merge pull request #1 from rtucek/ci/travis
Add .travis.yml
2 parents e70e059 + e49ff5c commit e498ecd

File tree

4 files changed

+17
-1
lines changed

4 files changed

+17
-1
lines changed

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.editorconfig
2+
.travis.yml
23
CHANGELOG.md
34
LICENSE
45
Makefile

.travis.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
sudo: false
2+
3+
services:
4+
- docker
5+
6+
addons:
7+
apt:
8+
packages:
9+
- make
10+
11+
script:
12+
- make test-build

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,6 @@ default: build
1111

1212
build:
1313
docker build -t $(IMAGE_FQN) .
14+
15+
test-build:
16+
docker build -t testbuild .

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![](https://images.microbadger.com/badges/image/janus1990/docker-nginx-php.svg)](https://microbadger.com/images/janus1990/docker-nginx-php "Get your own image badge on microbadger.com") [![](https://images.microbadger.com/badges/version/janus1990/docker-nginx-php.svg)](https://microbadger.com/images/janus1990/docker-nginx-php "Get your own version badge on microbadger.com")
1+
[![Build Status](https://travis-ci.org/rtucek/docker-nginx-php.svg?branch=ci%2Ftravis)](https://travis-ci.org/rtucek/docker-nginx-php) [![](https://images.microbadger.com/badges/image/janus1990/docker-nginx-php.svg)](https://microbadger.com/images/janus1990/docker-nginx-php "Get your own image badge on microbadger.com") [![](https://images.microbadger.com/badges/version/janus1990/docker-nginx-php.svg)](https://microbadger.com/images/janus1990/docker-nginx-php "Get your own version badge on microbadger.com")
22

33
## nginx-php Dockerfile
44

0 commit comments

Comments
 (0)