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

Consider stars in testlist_star_expr unpacking (because they are)
[etc/vim.git] / .travis.yml
1 sudo: required
2 dist: xenial
3 language: python
4 cache: pip
5 before_install:
6 - if [[ $TRAVIS_PYTHON_VERSION == '3.7-dev' ]]; then sudo add-apt-repository ppa:deadsnakes/ppa -y; fi
7 - if [[ $TRAVIS_PYTHON_VERSION == '3.7-dev' ]]; then sudo sudo apt-get update; fi
8 install:
9 - pip install coverage coveralls flake8 flake8-bugbear mypy
10 - pip install -e .
11 script:
12 - coverage run tests/test_black.py
13 - if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then mypy black.py tests/test_black.py; fi
14 - if [[ $TRAVIS_PYTHON_VERSION == '3.6-dev' ]]; then flake8 black.py tests/test_black.py; fi
15 - if [[ $TRAVIS_PYTHON_VERSION == '3.7-dev' ]]; then black --check --verbose black.py setup.py tests/test_black.py docs/conf.py; fi
16 after_success:
17 - coveralls
18 notifications:
19   on_success: change
20   on_failure: always
21 matrix:
22   include:
23     - python: 3.6
24     - python: 3.6-dev
25     - python: 3.7-dev