forked from oauthlib/oauthlib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
50 lines (50 loc) · 1.49 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
49
50
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
- python: 3.8
env: TOXENV=bandit
- 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: 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
- provider: releases
api_key:
secure: LEzTaeQt4+Sp21t7usmwaEYLThKIGWDNNj04JADMLgfquTeyz5nDu9P8JNlT//G9RNN20oR8w7jZo97Y+JAylq6Hh/I+p/MEzZi8+NwIpObk3n3zJO4witZQQSTEw/6B7qf1/NQQxjQzlYTJjsGXxBps7srviWZmbH6Tz+epA3A=
skip_cleanup: true
on:
tags: true
all_branches: true
condition: $TOXENV = py36
repo: oauthlib/oauthlib