environment:
  matrix:

    - PYTHON: "C:\\Python36-x64"
      PYTHON_VERSION: "3.6.x"
      PYTHON_ARCH: "64"

install:
    - "git config core.symlinks true"
    - "git reset --hard"
    - "%PYTHON%\\python.exe -m pip install -r test-requirements.txt"
    - "git submodule update --init typeshed"
    - "cd typeshed && git config core.symlinks true && git reset --hard && cd .."
    - "%PYTHON%\\python.exe setup.py -q install"

build: off

test_script:
    # Ignore lint (it's run in Travis)
    - "%PYTHON%\\python.exe runtests.py -x lint"

after_test:
  - "%PYTHON%\\python.exe -m pip install wheel"
  - "%PYTHON%\\python.exe setup.py bdist_wheel -p win32"
  - "%PYTHON%\\python.exe setup.py bdist_wheel -p win_amd64"

artifacts:
  - path: dist\*

skip_commits:
  files:
    - docs/**/*
    - '**/*.rst'
    - '**/*.md'
    - .gitignore
    - .runtest_log.json
    - .travis.yml
    - CREDITS
    - LICENSE

skip_branch_with_pr: true