X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/a82f1867875c906bedfe3ef675473b795d8b0440..865f536143e73da60f7c6b60924eb2472deb1cfe:/.appveyor.yml diff --git a/.appveyor.yml b/.appveyor.yml index 0e5582b..06a15bc 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 .[d] + - C:\Python36\python.exe -m pip install mypy + - 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 blackd.py tests/test_black.py + - C:\Python36\python.exe tests/test_black.py + - C:\Python36\python.exe -m mypy src/black src/blackd tests/test_black.py src/blib2to3 + +after_test: + - C:\Python36\python.exe -m pip install pyinstaller + - "%CMD_IN_ENV% C:\\Python36\\python.exe -m PyInstaller --clean -F --add-data + src/blib2to3/;blib2to3 src/black/__init__.py" + +artifacts: + - path: dist/black.exe + +deploy: + provider: GitHub + description: "" + auth_token: + secure: uplI9CJ2dTGcEBCbZuIn+Qb4rC38hOoRSH9lcwuGCr5g9fSnhK1MZdNT6Cjf/mFL + on: + APPVEYOR_REPO_TAG: true