#!/bin/bash

service_count=`docker ps -a | grep "Up " | wc -l`

if [ "${service_count}" -eq "3" ]
then
  echo "Service are up and running."
  exit 0
else
  echo "Some services exited..."
  docker ps -a
  exit 1
fi


#!/bin/bash

service_count=`docker ps -a | grep "Up " | wc -l`

if [ "${service_count}" -eq "4" ]
then
  echo "Service are up and running."
  exit 0
else
  echo "Some services exited..."
  docker ps -a
  exit 1
fi


Fix service checking in travis after adding redis service
Fix service checking in travis after adding redis service
