]> git.madduck.net Git - etc/vim.git/blobdiff - .appveyor.yml

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

permits black to run in AWS Lambda: (#1141)
[etc/vim.git] / .appveyor.yml
index 0e5582b20c73a63c65b096ebe67cc078db447081..d29cca24c01089f734c5c89720aaa8ddd22e6d25 100644 (file)
@@ -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 black.py blackd.py tests/test_black.py blib2to3
+
+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: uplI9CJ2dTGcEBCbZuIn+Qb4rC38hOoRSH9lcwuGCr5g9fSnhK1MZdNT6Cjf/mFL
+  on:
+    APPVEYOR_REPO_TAG: true