mirror of
https://github.com/donl/slouch.git
synced 2026-06-30 06:11:57 -06:00
test(circle): prevent bind conflicts (#33)
* test(circle): prevent bind conflicts * test(circle): couchdb not always started * test(circle): remove service line
This commit is contained in:
parent
8816c2f430
commit
7ab134feaf
1 changed files with 6 additions and 1 deletions
|
|
@ -13,7 +13,8 @@ dependencies:
|
|||
- nvm use 8.1.4 && npm install -g npm
|
||||
|
||||
# Install CouchDB 2
|
||||
- docker run -d --name couchdb --restart always -p 5984:5984 -e COUCHDB_USER='admin' -e COUCHDB_PASSWORD='admin' redgeoff/couchdb
|
||||
# - docker run -d --name couchdb --restart always -p 5984:5984 -e COUCHDB_USER='admin' -e COUCHDB_PASSWORD='admin' redgeoff/couchdb
|
||||
- docker run -d --name couchdb -p 5984:5984 -e COUCHDB_USER='admin' -e COUCHDB_PASSWORD='admin' redgeoff/couchdb
|
||||
# Wait for DB to be ready
|
||||
- sleep 15
|
||||
# Create system DBs
|
||||
|
|
@ -51,3 +52,7 @@ test:
|
|||
# couchdb 1.6.1 docker image. We'll probably need to build a custom image for these tests.
|
||||
# Test on CouchDB 1
|
||||
# - nvm use 8.1.4 && COUCHDB_PORT=15984 npm run node-full-test
|
||||
|
||||
post:
|
||||
# Stop CouchDB instance to prevent bind conflicts with subsequent test containers
|
||||
- docker stop couchdb
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue