language: csharp
branches:  
  only:
    - master
solution: pillowsharp.csproj
mono: none
dotnet: 2.0.0
services:
  - couchdb
before_script: #CouchDB2 changed the setup
  -  curl -H "Content-Type: application/json" -X POST -d '{"action":"enable_single_node","username":"admin","password":"admin","bind_address":"0.0.0.0","port":5984,"singlenode":true}' http://localhost:5984/_cluster_setup
script: 
  - ./src/build.sh
branches:  
  only:
    - master

language: csharp
branches:  
  only:
    - master
solution: pillowsharp.csproj
mono: none
dotnet: 2.0.0
services:
  - couchdb
before_script: #CouchDB2 changed the port from 5984 to 5986
  -  curl -X PUT localhost:5986/_config/admins/admin -d '"admin"'
script: 
  - ./src/build.sh
branches:  
  only:
    - master
Revert "Revert "Revert "CouchDB 2 change"""
Revert "Revert "Revert "CouchDB 2 change"""

This reverts commit 4cdc6db6751088a1fa0a91b5fe2835dfd8692574.
