version: '2'
services:
  couchdb:
    image: couchdb:1.6.1
    ports:
      - 5984:5984
  couchify:
    image: mhart/alpine-node:8.5.0
    command: sh -c "cd /build && yarn && npm run build && NODE_ENV=docker npm run test"
    links:
      - "couchdb"
    depends_on:
      - couchdb
    volumes:
      - .:/build

version: '2'
services:
  couchdb:
    image: couchdb:1.6.1
    ports:
      - 5984:5984
  couchify:
    image: mhart/alpine-node:8.5.0
    command: sh -c "cd /build && yarn && npm run lint && npm run build && NODE_ENV=docker npm run test"
    links:
      - "couchdb"
    depends_on:
      - couchdb
    volumes:
      - .:/build

Make sure the linter is being run in CI builds
Make sure the linter is being run in CI builds
