build: off

os: unstable

platform:
  - x64
  - x86

branches:
  only:
    - master

shallow_clone: true
clone_depth: 1

skip_tags: true

environment:
  nodejs_version: "6"
# GH_TOKEN set via UI

cache:
  - node_modules -> package.json

install:
  - ps: Install-Product node $env:nodejs_version
  - npm install

test_script:
  - node --version
  - npm --version
  - npm test

after_test:
  - npm run dist

build: off

os: unstable

branches:
  only:
    - master

shallow_clone: true
clone_depth: 1

skip_tags: true

environment:
  nodejs_version: "6"
# GH_TOKEN set via UI

cache:
  - node_modules -> package.json

# For 64 bit, we need:
# - ps: Install-Product node %env:nodejs_version x64
install:
  - ps: Install-Product node $env:nodejs_version
  - npm install

test_script:
  - node --version
  - npm --version
  - npm test

after_test:
  - npm run dist

Revert to single platform builds.
Revert to single platform builds.

electron-builder produces only a single exe that is platform-aware.
So to do this properly need a single run to build for both archs. Can
look at this later if there's any benefit.
