language: c

os:
- linux
- osx

install:
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then ./travis.linux.install.deps.sh; fi
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then ./travis.osx.install.deps.sh; fi

before_script:
  - mkdir -p build

script:
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then ./travis.linux.script.sh; fi
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then ./travis.osx.script.sh; fi

git:
  submodules: true

notifications:
  irc:
    channels: "irc.mozilla.org#servo"
    on_success: change
    on_failure: change
    use_notice: true
  email: false

branches:
  only:
    - master

language: c

os:
- linux
- osx

install:
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then ./travis.linux.install.deps.sh; fi
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then ./travis.osx.install.deps.sh; fi

before_script:
  - mkdir -p build

script:
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then ./travis.linux.script.sh; fi
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then ./travis.osx.script.sh; fi

git:
  submodules: true

notifications:
  irc:
    channels: "irc.mozilla.org#servo"
    on_success: change
    on_failure: change
    use_notice: true

branches:
  only:
    - master

Enable email notifications from Travis CI
Enable email notifications from Travis CI

http://docs.travis-ci.com/user/notifications/
> By default, email notifications will be sent to the committer and the commit author, if they are members of the repository (that is, they have push or admin permissions for public repositories, or if they have pull, push or admin permissions for private repositories).
>
> And it will by default send emails when, on the given branch:
>
> * a build was just broken or still is broken
> * a previously broken build was just fixed
