]> git.madduck.net Git - etc/vim.git/blob - .travis.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:

Fix typo (#916)
[etc/vim.git] / .travis.yml
1 dist: xenial
2 language: python
3 cache: pip
4 env:
5 - TEST_CMD="coverage run tests/test_black.py"
6 install:
7 - pip install coverage coveralls flake8 flake8-bugbear mypy
8 - pip install -e '.[d]'
9 script:
10 - $TEST_CMD
11 after_success:
12 - coveralls
13 notifications:
14   on_success: change
15   on_failure: always
16 matrix:
17   include:
18     - name: "mypy"
19       python: 3.6
20       env:
21         - TEST_CMD="mypy black.py blackd.py tests/test_black.py"
22     - name: "black"
23       python: 3.7
24       env:
25         - TEST_CMD="black --check --verbose ."
26     - name: "flake8"
27       python: 3.7
28       env:
29         - TEST_CMD="flake8 black.py blackd.py tests/test_black.py"
30     - name: "3.6"
31       python: 3.6
32     - name: "3.7"
33       python: 3.7
34     - name: "3.8-dev"
35       python: 3.8-dev
36   # aiohttp currently has a bug affecting 3.8
37   allow_failures:
38     - name: "3.8-dev"
39       python: 3.8-dev
40 before_deploy:
41   - pip install pyinstaller
42   - pyinstaller --clean -F --add-data blib2to3/:blib2to3 black.py
43 deploy:
44   provider: releases
45   api_key:
46     secure: chYvcmnRqRKtfBcAZRj62rEv0ziWuHMl6MnfQbd1MOVQ4njntI8+CCPk118dW6MWSfwTqyMFy+t9gAgQYhjkLEHMS2aK9Z2wCWki1MkBrkMw5tYoLFvPu0KQ9rIVihxsr93a/am6Oh/Hp+1uuc4zWPUf1ubX+QlCzsxjCzVso1kTJjjdN04UxvkcFR+sY2d9Qyy9WcdifChnLwdmIJKIoVOE7Imm820nzImJHkJh8iSnjBjL98gvPPeC/nWTltsbErvf2mCv4NIjzjQZvHa87c7rSJGbliNrAxCSyyvBX+JNeS8U2fGLE83do0HieyjdPbTuc27e2nsrrihgPh+hXbiJerljclfp5hsJ5qGz5sS9MU1fR7sSLiQQ2v0TYB5RRwd34TgGiLwFAZZmgZOfMUCtefCKvP8qvELMSNd99+msfPEHiuhADF0bKPTbCUa6BgUHNr6woOLmHerjPHd6NI/a8Skz/uQB4xr3spLSmfUmX0fEqyYUDphkGPNH8IsvC1/F2isecW9kOzEWmB5oCmpMTGm4TIf3C01Nx+9PVwB2Z+30hhbfIEBxD4loRFmh/hU5TIQEpneF8yoIfe9EnMaoZbq86xhADZXvLIZvpXUdm1NQZDG6na2S1fwyOUKQsW6BWLcfoZZwZlrXrViD1jBsHBV++s+lxShTeTCszlo=
47   file:
48     - dist/black
49   skip_cleanup: true
50   on:
51     condition: $TRAVIS_PYTHON_VERSION == '3.6'
52     repo: python/black
53     tags: true