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

Refactor black into packages in src/ dir (#1376)
[etc/vim.git] / .appveyor.yml
index 0e5582b20c73a63c65b096ebe67cc078db447081..06a15bc96fc4a3014b1bcd59a2a251e7c9679035 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 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