machine:
    services:
      - redis

dependencies:
    pre:
      - sudo apt-get update -qq
      - sudo apt-get install -qq cmake libevent-dev libglib2.0-dev libgmime-2.6-dev libluajit-5.1-dev liblua5.1-0-dev libmagic-dev libpcre3-dev libsqlite3-dev libssl-dev make ragel redis-server gcc
      - sudo pip install robotframework
#  - echo $TRAVIS_OS_NAME
#  - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get update -qq ; fi
#  - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install -qq cmake libevent-dev libglib2.0-dev libgmime-2.6-dev libluajit-5.1-dev libpcre3-dev libsqlite3-dev libhiredis-dev ; fi
#  - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update ; fi
#  - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install cmake gmime glib luajit pcre hiredis sqlite libevent ; fi

test:
  override:
    - cmake . -DCMAKE_INSTALL_PREFIX=./_install
    - cmake --build . --target install
    - sudo robot test/functional/cases

dependencies:
    pre:
      - sudo apt-get update -qq
      - sudo apt-get install -qq cmake libevent-dev libglib2.0-dev libgmime-2.6-dev libluajit-5.1-dev liblua5.1-0-dev libmagic-dev libpcre3-dev libsqlite3-dev libssl-dev make ragel redis-server gcc
      - sudo pip install robotframework
#  - echo $TRAVIS_OS_NAME
#  - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get update -qq ; fi
#  - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install -qq cmake libevent-dev libglib2.0-dev libgmime-2.6-dev libluajit-5.1-dev libpcre3-dev libsqlite3-dev libhiredis-dev ; fi
#  - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update ; fi
#  - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install cmake gmime glib luajit pcre hiredis sqlite libevent ; fi

test:
  override:
    - cmake . -DCMAKE_INSTALL_PREFIX=./_install
    - cmake --build . --target install
    - sudo robot test/functional/cases

Drop redis service from CI configuration
[Minor] Drop redis service from CI configuration
