language: node_js

node_js:
  - '11'

os:
  - osx
  - linux
  - windows

env:
  - YARN_GPG=no

cache:
  yarn: true

script:
  - yarn
  - ./build_files/rebuild_ext
  - DEBUG=electron-builder yarn dist
  - ./build_files/upload_package

language: node_js

node_js:
  - '11'

os:
  - osx
  - linux
  - windows

env:
  - YARN_GPG=no

cache:
  yarn: true

branches:
  only:
    - master

script:
  - yarn
  - ./build_files/rebuild_ext
  - yarn dist
  - ./build_files/upload_package

Disable debug and build packages only on master
Disable debug and build packages only on master