diff options
-rw-r--r-- | .travis.yml | 46 |
1 files changed, 29 insertions, 17 deletions
diff --git a/.travis.yml b/.travis.yml index 79a5175..55a2c9a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,20 +1,32 @@ language: python cache: pip - -matrix: +script: echo "Running tests against $(python --version) ..." +jobs: include: - - python: 2.7 - - python: 3.5 - - python: 3.6 - - python: 3.7 - - python: 3.8-dev - -install: - - pip install -r requirements.txt - - pip install -U pytest pytest-cov - -script: pytest --cov tablib - -after_success: - - pip install -U codecov - - codecov + - stage: test + script: pytest --cov tablib + matrix: + include: + - python: 2.7 + - python: 3.5 + - python: 3.6 + - python: 3.7 + - python: 3.8-dev + install: + - pip install -r requirements.txt + - pip install -U pytest pytest-cov + after_success: + - pip install -U codecov + - codecov + - stage: deploy + script: skip + deploy: + provider: pypi + user: jazzband + server: https://jazzband.co/projects/tablib/upload + password: + secure: svV4fYtodwW+iTyFOm5ISEfhVwcA+6vTskD3x6peznc40TdMV9Ek8nT3Q/NB4lCbXoUw2qR4H6uhLCjesnv/VvVk/qbitCyD8ySlgwOV5n7NzJs8lC8EYaHSjGQjatTwJAokfGVYkPawkI7HXDqtDggLUQBK+Ag8HDW+XBSbQIU= + distributions: sdist bdist_wheel + on: + tags: true + repo: jazzband/tablib |