Skip to content

Commit

Permalink
Add ability to automatically deploy tagged versions to pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
EntilZha committed Dec 29, 2017
1 parent cef98a1 commit 7660306
Showing 1 changed file with 42 additions and 36 deletions.
78 changes: 42 additions & 36 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,51 +1,57 @@
language: python
before_install:
- pip install codecov
- pip install codecov
install:
- pip install -q coverage
- pip install -r requirements.txt

- pip install -q coverage
- pip install -r requirements.txt
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/1732ae62130d81fe54d8
- https://webhooks.gitter.im/e/1732ae62130d81fe54d8
on_success: always
on_failure: always
on_start: always
env:
- PY_36=1 PYPY=0
- PY_36=0 PYPY=1
- PY_36=0 PYPY=0
- PY_36=1 PYPY=0
- PY_36=0 PYPY=1
- PY_36=0 PYPY=0
python:
- "2.7.13"
- "3.4.4"
- "3.5"
- "3.6"
- "pypy"
- 2.7.13
- 3.4.4
- '3.5'
- '3.6'
- pypy
matrix:
exclude:
- python: "pypy"
env: PY_36=1 PYPY=0
- python: "pypy"
env: PY_36=0 PYPY=0
- python: "2.7.13"
env: PY_36=1 PYPY=0
- python: "2.7.13"
env: PY_36=0 PYPY=1
- python: "3.4.4"
env: PY_36=1 PYPY=0
- python: "3.4.4"
env: PY_36=0 PYPY=1
- python: "3.5"
env: PY_36=1 PYPY=0
- python: "3.5"
env: PY_36=0 PYPY=1
- python: "3.6"
env: PY_36=0 PYPY=1
- python: "3.6"
env: PY_36=0 PYPY=0

script: ./travis.sh
- python: pypy
env: PY_36=1 PYPY=0
- python: pypy
env: PY_36=0 PYPY=0
- python: 2.7.13
env: PY_36=1 PYPY=0
- python: 2.7.13
env: PY_36=0 PYPY=1
- python: 3.4.4
env: PY_36=1 PYPY=0
- python: 3.4.4
env: PY_36=0 PYPY=1
- python: '3.5'
env: PY_36=1 PYPY=0
- python: '3.5'
env: PY_36=0 PYPY=1
- python: '3.6'
env: PY_36=0 PYPY=1
- python: '3.6'
env: PY_36=0 PYPY=0
script: "./travis.sh"
after_success:
- codecov
- codecov
cache: pip
deploy:
provider: pypi
user: prodriguez
password:
secure: WOyXID09Jaha9OT8v7fV0h3B1LjqoCkS93KO6JUSTPWhCX0PYfNHNQURG/ma3fYr/K+kzQ4S+5ZjGIeEar1ESr3ufVFbwmhmG9058V5rl+GAEsDa88DFOb2Ne1Dk+9uXF1RtLMVlYZFfWok39JzBa70PRuJsflxmDtaRx+wyevw=
on:
tags: true
distributions: "sdist bdist_wheel"

0 comments on commit 7660306

Please sign in to comment.