### Project specific config ###
matrix:
  include:
    - os: linux
      language: go
      go: 1.6.2

    - os: linux
      language: go
      go: 1.6.2
      env: ATOM_CHANNEL=beta

install:
  - go get -u github.com/golang/lint/golint

### Generic setup follows ###
script:
  - curl -s -O https://raw.githubusercontent.com/atom/ci/master/build-package.sh
  - chmod u+x build-package.sh
  - ./build-package.sh

notifications:
  email:
    on_success: never
    on_failure: change

branches:
  only:
    - master

git:
  depth: 10

sudo: false

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

### Project specific config ###
matrix:
  include:
    - os: linux
      language: go
      go: 1.6.2

    - os: linux
      language: go
      go: 1.x
      env: ATOM_CHANNEL=beta

install:
  - go get -u github.com/golang/lint/golint

### Generic setup follows ###
script:
  - curl -s -O https://raw.githubusercontent.com/atom/ci/master/build-package.sh
  - chmod u+x build-package.sh
  - ./build-package.sh

notifications:
  email:
    on_success: never
    on_failure: change

branches:
  only:
    - master

git:
  depth: 10

sudo: false

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

Use latest stable 1.x for beta builds
Use latest stable 1.x for beta builds
