os: Visual Studio 2015

clone_folder: C:\calibre
clone_depth: 5

cache:
    - .build-cache
    - node_modules -> .appveyor.yml

install:
    - ps: Install-Product node 7
    - node --version
    - npm --version
    - appveyor-retry npm install --no-optional rapydscript-ng regenerator uglify-js
    - set PATH=node_modules\.bin;%PATH%
    - rapydscript --version

environment:
    SW: C:\sw
    QMAKE: C:\sw\qt\bin\qmake.exe
    QT_PLUGIN_PATH: C:\sw\qt\plugins

platform:
    - x64
    - x86

before_build:
  - C:\Python36-x64\python.exe setup/win-ci.py sw

build_script:
    - C:\sw\private\python\python.exe setup/win-ci.py build

test_script:
    - C:\sw\private\python\python.exe setup/win-ci.py test
