mirror of
https://github.com/kennethreitz/tablib.git
synced 2026-06-05 06:56:13 +00:00
b539e96697
* Move docs and lint to their own [3.8] build job for more parallelism * No codecov for docs or lint * Move isort into pre-commit * Add some handy linters to pre-commit * Add rst-backticks linter and fix the errors * Add pyupgrade and add upgrades * Test docs and lint on GitHub Actions * Xenial is default
39 lines
844 B
YAML
39 lines
844 B
YAML
language: python
|
|
cache:
|
|
pip: true
|
|
directories:
|
|
- $HOME/.cache/pre-commit
|
|
|
|
matrix:
|
|
fast_finish: true
|
|
include:
|
|
- python: 3.8
|
|
env: TOXENV=docs
|
|
- python: 3.8
|
|
env: TOXENV=lint
|
|
- python: 3.8
|
|
- python: 3.7
|
|
- python: 3.6
|
|
|
|
install: travis_retry pip install tox-travis
|
|
|
|
script: tox
|
|
|
|
after_success:
|
|
- |
|
|
if [[ "$TOXENV" != "docs" && "$TOXENV" != "lint" ]]; then
|
|
bash <(curl -s https://codecov.io/bash)
|
|
fi
|
|
|
|
deploy:
|
|
provider: pypi
|
|
user: jazzband
|
|
server: https://jazzband.co/projects/tablib/upload
|
|
distributions: sdist bdist_wheel
|
|
password:
|
|
secure: svV4fYtodwW+iTyFOm5ISEfhVwcA+6vTskD3x6peznc40TdMV9Ek8nT3Q/NB4lCbXoUw2qR4H6uhLCjesnv/VvVk/qbitCyD8ySlgwOV5n7NzJs8lC8EYaHSjGQjatTwJAokfGVYkPawkI7HXDqtDggLUQBK+Ag8HDW+XBSbQIU=
|
|
on:
|
|
tags: true
|
|
repo: jazzband/tablib
|
|
python: 3.7
|