couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gar...@apache.org
Subject [couchdb-docker] 04/39: add Travis CI
Date Tue, 25 Apr 2017 12:38:16 GMT
This is an automated email from the ASF dual-hosted git repository.

garren pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb-docker.git

commit 8db81f57c6b64753b51c23143af70363582198ff
Author: klaemo <klaemo@fastmail.fm>
AuthorDate: Tue May 24 23:33:05 2016 +0200

    add Travis CI
---
 .travis.yml | 12 ++++++++++++
 README.md   |  2 +-
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..9ce7214
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,12 @@
+sudo: required
+
+services:
+  - docker
+
+before_install:
+  - docker build -t couchdb:1.6.1 1.6.1
+  - docker build -t couchdb:1.6.1-couchperuser 1.6.1-couchperuser
+
+script:
+  - docker run -d -p 5984:5984 couchdb:1.6.1 && sleep 5 && curl http://localhost:5984
+  - docker run -d -p 5985:5984 couchdb:1.6.1-couchperuser && sleep 5 && curl
http://localhost:5985
diff --git a/README.md b/README.md
index 98cfd9e..a27e258 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-YADC
+YADC [![Build Status](https://travis-ci.org/klaemo/docker-couchdb.svg?branch=master)](https://travis-ci.org/klaemo/docker-couchdb)
 ===
 
 Yet Another Dockerized CouchDB.

-- 
To stop receiving notification emails like this one, please contact
"commits@couchdb.apache.org" <commits@couchdb.apache.org>.

Mime
View raw message