X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/b07ca2b7d5d03f5d890c1ce5f19b41065ba815c4..fbf59b60d750ace9792a78736f19a4e81a156333:/.appveyor.yml diff --git a/.appveyor.yml b/.appveyor.yml index 5003ce0..6dadfb3 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -1,10 +1,26 @@ install: - C:\Python36\python.exe -m pip install mypy -- C:\Python36\python.exe -m pip install -e . +- C:\Python36\python.exe -m pip install -e .[d] # Not a C# project build: off test_script: - C:\Python36\python.exe tests/test_black.py -- C:\Python36\python.exe -m mypy black.py 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 +