forked from oauthlib/oauthlib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
48 lines (48 loc) · 1.47 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
language: python
python: 3.8
dist: bionic
cache: pip
matrix:
include:
- python: 3.6
env: TOXENV=py36
- python: 3.7
env: TOXENV=py37
- python: 3.8
env: TOXENV=py38,bandit,docs,readme
- python: pypy3
env: TOXENV=pypy3
before_install:
- python -m pip install --upgrade pip setuptools
- python -m pip install tox coveralls
- if [ "$TOXENV" == "pypy3" ]; then curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && source $HOME/.cargo/env ; fi
script: tox
after_success: COVERALLS_PARALLEL=true coveralls
notifications:
webhooks:
urls:
- https://coveralls.io/webhook
- https://webhooks.gitter.im/e/6008c872bf0ecee344f4
on_success: always
on_failure: always
on_start: never
deploy:
- provider: releases
api_key:
secure: "eqEWOzKWZCuvd1a77CA03OX/HCrsYlsu1/Sz/RhXQIEhKz6tKp10KGw9zr57bHAIl0OfJFK9k63lI2HOctAmwkKeeQ4HdNqw4pHFa8Gk3liGp31KSmshVtHX8Rtn0DuFA028Wm7w5n+fOVc8tJVU/UsKjsfsAzRHnQjMamckoXU="
skip_cleanup: true
on:
tags: true
all_branches: true
condition: $TOXENV = py36
repo: oauthlib/oauthlib
- provider: pypi
user: JonathanHuot
password:
secure: "OozNM16flVLvqDoNzmoTENchhS1w0/dEJZvXBQK2KWmh8fyGj2UZus1vkl6bA5V3Yu9MZLYFpDcltl/qraY3Up6iXQpwKz4q+ICygAudYM2kJ5l8ZEe+wy2FikWbD6LkXf5uKIJJnPNSC8AI86ZyxM/XZxbYjj/+jXyJ1YFZwwQ="
distributions: sdist bdist_wheel
on:
tags: true
all_branches: true
condition: $TOXENV = py36
repo: oauthlib/oauthlib