]> 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:

Revert "restore cursor to same line of code, not same line of buffer (#989)"
[etc/vim.git] / .appveyor.yml
index 5003ce01151d88e54969febcaa5c3042a69fb80c..6389f45789ca41002257b1c3548eba952f870828 100644 (file)
@@ -1,10 +1,26 @@
 install:
 - C:\Python36\python.exe -m pip install mypy
 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
 
 # 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: uplI9CJ2dTGcEBCbZuIn+Qb4rC38hOoRSH9lcwuGCr5g9fSnhK1MZdNT6Cjf/mFL
+  on:
+    APPVEYOR_REPO_TAG: true
+