Merge pull request #37 from Monogramm/ci/travis

Travis CI
pull/45/head
Christophe Romain 5 years ago committed by GitHub
commit 8f7c4e07f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,39 @@
dist: trusty
sudo: required
services: docker
language: bash
branches:
only:
- master
before_script:
- env | sort
- dir="${VARIANT}/"
script:
- cd "$dir"
- travis_wait docker build --build-arg VERSION=${VERSION} -t ejabberd/ecs:travis-${VERSION} .
- docker images
- travis_retry docker run --name ejabberd -d -p 5222:5222 ejabberd/ecs && sleep 60
- docker ps
- docker logs ejabberd
- docker logs ejabberd | grep "Start accepting TCP connections" || exit 1
notifications:
email: false
matrix:
allow_failures:
- env: VERSION=latest VARIANT=ecs
- env: VERSION=latest VARIANT=mix
env: # Environments
- VERSION=latest VARIANT=ecs
- VERSION=latest VARIANT=mix
- VERSION=19.05 VARIANT=ecs
- VERSION=19.05 VARIANT=mix
- VERSION=19.02 VARIANT=ecs
- VERSION=19.02 VARIANT=mix

@ -1,3 +1,6 @@
[![Build Status](https://travis-ci.org/processone/docker-ejabberd.svg)](https://travis-ci.org/processone/docker-ejabberd)
# docker-ejabberd
This repository contains a set of Docker images for ejabberd.

Loading…
Cancel
Save