Merge pull request #4 from madmath03/master
Added basic Travis CI and fix deprecated maintainer label
This commit is contained in:
commit
21a8cef073
32
.travis.yml
Normal file
32
.travis.yml
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
dist: trusty
|
||||||
|
sudo: required
|
||||||
|
|
||||||
|
services: docker
|
||||||
|
|
||||||
|
language: bash
|
||||||
|
|
||||||
|
branches:
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- env | sort
|
||||||
|
- name="roundcubemail"
|
||||||
|
- image="roundcube/roundcubemail:${VERSION}${VARIANT:+-$VARIANT}"
|
||||||
|
- dir="php-${VARIANT}"
|
||||||
|
|
||||||
|
script:
|
||||||
|
- travis_retry docker build -t "$image" "$dir"
|
||||||
|
|
||||||
|
after_script:
|
||||||
|
- docker images
|
||||||
|
- docker run --name "$name" -d "$image" "$dir"
|
||||||
|
- docker ps
|
||||||
|
- docker logs "$name"
|
||||||
|
|
||||||
|
notifications:
|
||||||
|
email: false
|
||||||
|
|
||||||
|
env: # Environments
|
||||||
|
- VERSION=1.3.4 VARIANT=fpm
|
||||||
|
- VERSION=1.3.4 VARIANT=apache
|
@ -1,3 +1,7 @@
|
|||||||
|
|
||||||
|
[](https://travis-ci.org/roundcube/roundcubemail-docker)
|
||||||
|
[](https://hub.docker.com/r/roundcube/roundcubemail/)
|
||||||
|
|
||||||
# Running Roundcube in a Docker Container
|
# Running Roundcube in a Docker Container
|
||||||
|
|
||||||
The simplest method is to run the official image:
|
The simplest method is to run the official image:
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
FROM php:7.1-apache
|
FROM php:7.1-apache
|
||||||
MAINTAINER Thomas Bruederli <thomas@roundcube.net>
|
LABEL maintainer="Thomas Bruederli <thomas@roundcube.net>"
|
||||||
|
|
||||||
RUN apt-get -qq update \
|
RUN apt-get -qq update \
|
||||||
&& apt-get install -qq \
|
&& apt-get install -qq \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
FROM php:7.1-fpm
|
FROM php:7.1-fpm
|
||||||
MAINTAINER Thomas Bruederli <thomas@roundcube.net>
|
LABEL maintainer="Thomas Bruederli <thomas@roundcube.net>"
|
||||||
|
|
||||||
RUN apt-get -qq update \
|
RUN apt-get -qq update \
|
||||||
&& apt-get install -qq \
|
&& apt-get install -qq \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user