Commit 913915d1 authored by Cong's avatar Cong Committed by Łukasz Langa
Browse files

Deploy windows binary (#422)

parent 7145fa32
Loading
Loading
Loading
Loading
+16 −0
Changes for .appveyor.yml: 16 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -8,3 +8,19 @@ build: off
test_script:
- C:\Python36\python.exe tests/test_black.py
- C:\Python36\python.exe -m mypy black.py blackd.py tests/test_black.py

after_test:
  - C:\Python36\python.exe -m pip install pyinstaller
  - "%CMD_IN_ENV% C:\\Python36\\python.exe -m PyInstaller --clean -F --add-data blib2to3/;blib2to3 black.py"

artifacts:
  - path: dist/black.exe

deploy:
  provider: GitHub
  description: ''
  auth_token:
    secure: caPP8BcGffPuTopDfdI4ZVKZkpD9l9UAcjO7rwm5/fFSMbsqh1v4S38nmMn4uSuD
  on:
    appveyor_repo_tag: true