os:
  - linux
  - osx
dist: trusty
sudo: required
language: bash
before_install:
  - sudo apt-get -qq update
  - sudo apt-get install -y mairix notmuch notmuch-mutt maildir-utils nmzmail
script:
  - ./t/t.sh

os:
  - linux
  - osx
dist: trusty
sudo: required
language: bash
before_install:
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -qq update; fi
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -y mairix notmuch notmuch-mutt maildir-utils nmzmail; fi
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install mairix notmuch mu ; fi
script:
  - ./t/t.sh

Use brew on Travis CI Mac OS X
Use brew on Travis CI Mac OS X
