blob: ba445ffe71becc83aafb12710fca95e56a9476a4 [file] [log] [blame]
sudo: required
language: minimal
# Avoid double build on PRs (See https://github.com/travis-ci/travis-ci/issues/1147)
branches:
only:
- master
services:
- docker
env:
- RELEASES=2.3.1
- RELEASES=2.3.1-ubi
- RELEASES=3.0.1
- RELEASES=3.1.1
- RELEASES=3.1.1-ubi
- RELEASES=dev
- RELEASES=dev-cluster
script:
- for rel in $RELEASES; do docker build -t couchdb:$rel $rel; docker run -d --name $rel -e COUCHDB_USER=admin -e COUCHDB_PASSWORD=password -p 5984:5984 couchdb:$rel && sleep 10 && curl http://admin:password@localhost:5984/ && docker kill $rel; done