forked from infobyte/flask-saml2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
42 lines (37 loc) · 764 Bytes
/
.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
language: python
cache: pip
addons:
apt:
packages:
- swig
install:
- pip install tox
script: tox
# Deploy if all the test builds succeed
jobs:
include:
- python: 3.6
env: TOXENV=py36-flask1.0
- python: 3.7
dist: xenial
sudo: true
env: TOXENV=py37-flask1.0
- python: 3.7
dist: xenial
sudo: true
env: TOXENV=flake8,isort
- stage: deploy
python: 3.7
dist: xenial
sudo: true
script: skip
deploy:
provider: pypi
user: tim_heap
password: $PYPI_PASSWORD
distribution: "sdist bdist_wheel"
on:
condition: $( ./setup.py --version ) == $TRAVIS_TAG
branch: master
tags: true
# vim: sw=2 expandtab