notifications:
  email:
    on_success: never
    on_failure: change

script: 'curl -s https://raw.githubusercontent.com/atom/ci/master/build-package.sh | sh'

git:
  depth: 10

sudo: false

os:
  - linux
  - osx

language: node_js
node_js: "5"

install:
  - npm install
  - npm run compile

env:
  matrix:
    - ATOM_CHANNEL=stable
    - ATOM_CHANNEL=beta

addons:
  apt:
    packages:
    - build-essential
    - git
    - libgnome-keyring-dev
    - fakeroot

branches:
  only:
    - master

# Project specific config
matrix:
  include:
    - os: linux
      language: node_js
      node_js: "5"
    - os: linux
      language: node_js
      node_js: "5"
      env: ATOM_CHANNEL=beta
    - os: osx
      language: generic
      before_install:
        - brew update
        - brew outdated node || brew upgrade node
    - os: osx
      language: generic
      before_install:
        - brew update
        - brew outdated node || brew upgrade node
      env: ATOM_CHANNEL=beta

install:
  - npm install
  - npm run compile

script: 'curl -s https://raw.githubusercontent.com/atom/ci/master/build-package.sh | sh'

# Generic setup follows
notifications:
  email:
    on_success: never
    on_failure: change

git:
  depth: 10

sudo: false

addons:
  apt:
    packages:
    - build-essential
    - git
    - libgnome-keyring-dev
    - fakeroot

branches:
  only:
    - master

Update Travis for OS X
Update Travis for OS X

For OS X builds force an update of Node before attempting to transpile the code.
