os: unstable

environment:
  #GH_TOKEN:
  #    secure: Ga+40bO3lQTmQOxV/e8JwZyd0SukxC6SFRlDZ1B478dZ29qxXDsWzStTdDt0FXg3
  matrix:
    - nodejs_version: 7

cache:
  - "%LOCALAPPDATA%/Yarn"
  - node_modules -> package.json
  - app/node_modules -> app/package.json

matrix:
  fast_finish: true

build: off

version: '0.0.1-dev.{build}'

shallow_clone: true

clone_depth: 1

install:
  - ps: Install-Product node $env:nodejs_version
  - set CI=true
  - yarn
  - cd src && yarn

test_script:
  - node --version
  - yarn lint

build_script:
  - yarn package

artifacts:
  - path: release\win-unpacked\
    name: 'MovieCast Portable {version}'
    type: Zip
  - path: release\*.exe

os: unstable

environment:
  #GH_TOKEN:
  #    secure: Ga+40bO3lQTmQOxV/e8JwZyd0SukxC6SFRlDZ1B478dZ29qxXDsWzStTdDt0FXg3
  matrix:
    - nodejs_version: 7

cache:
  - "%LOCALAPPDATA%/Yarn"
  - node_modules -> package.json
  - app/node_modules -> app/package.json

platform:
  - x64

matrix:
  fast_finish: true

build: off

version: '0.0.1-dev.{build}'

shallow_clone: true

clone_depth: 1

install:
  - ps: Install-Product node $env:nodejs_version
  - set CI=true
  - yarn
  - cd src && yarn

test_script:
  - node --version
  - yarn lint

build_script:
  - yarn package

artifacts:
  - path: release\*.exe

Allow x64 builds instead of x86 ones
Allow x64 builds instead of x86 ones