# appveyor file
# http://www.appveyor.com/docs/appveyor-yml

init:
  - git config --global core.autocrlf input

cache:
  - C:\Users\appveyor\.node-gyp
  - '%AppData%\npm-cache'

matrix:
  fast_finish: true

# what combinations to test
environment:
  matrix:
    - nodejs_version: 0.10
    - nodejs_version: 0.12

install:
  - ps: Install-Product node $env:nodejs_version x64
  - npm -g install npm@2.12.1
  - set PATH=%APPDATA%\npm;%PATH%
  - npm install -g gulp
  - npm install

build: off

test_script:
  - node --version
  - npm --version
  - cmd: gulp test

notifications:

  - provider: Webhook
    url: https://webhooks.gitter.im/e/3d5ed28fa9ae4c25f46f
    on_build_success: false
    on_build_failure: true
    on_build_status_changed: true

# appveyor file
# http://www.appveyor.com/docs/appveyor-yml

init:
  - git config --global core.autocrlf input

cache:
  - C:\Users\appveyor\.node-gyp
  - '%AppData%\npm-cache'

matrix:
  fast_finish: true

# what combinations to test
environment:
  matrix:
    - nodejs_version: 0.10
      RESINTEST_EMAIL: 'test2+juan@resin.io'
      RESINTEST_USERNAME: 'test2_juan'
      RESINTEST_USERID: 5616
      RESINTEST_REGISTER_EMAIL: 'test2+register+juan@resin.io'
      RESINTEST_REGISTER_USERNAME: 'test2_register_juan'
    - nodejs_version: 0.12
      RESINTEST_EMAIL: 'test3+juan@resin.io'
      RESINTEST_USERNAME: 'test3_juan'
      RESINTEST_USERID: 8717
      RESINTEST_REGISTER_EMAIL: 'test3+register+juan@resin.io'
      RESINTEST_REGISTER_USERNAME: 'test3_register_juan'

install:
  - ps: Install-Product node $env:nodejs_version x64
  - npm -g install npm@2.12.1
  - set PATH=%APPDATA%\npm;%PATH%
  - npm install -g gulp
  - npm install

build: off

test_script:
  - node --version
  - npm --version
  - cmd: gulp test

notifications:

  - provider: Webhook
    url: https://webhooks.gitter.im/e/3d5ed28fa9ae4c25f46f
    on_build_success: false
    on_build_failure: true
    on_build_status_changed: true

Use different accounts for Appveyor environment matrix
Use different accounts for Appveyor environment matrix

Now that we upgraded Appveyor to run parallel builds, we must ensure
each matrix entry is ran with a different Resin.io account to prevent
conflicts between both.

Signed-off-by: Juan Cruz Viotti <8493db2a4f45d66df375afe12f7eba59fe1c8d78@gmail.com>
