forked from jazzband/pip-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
80 lines (75 loc) · 1.66 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
sudo: false
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "pypy"
env:
- PIP=8.1.1
- PIP=9.0.1
- PIP=9.0.3
- PIP=10.0.1
- PIP=18.0
- PIP=master
- PIP=latest
cache: pip
install:
- travis_retry pip install tox-travis
script:
- tox
jobs:
include:
# Python 3.7 in Travis: https://github.com/travis-ci/travis-ci/issues/9815
- python: 3.7
dist: xenial
sudo: true
env: PIP=8.1.1
- python: 3.7
dist: xenial
sudo: true
env: PIP=9.0.1
- python: 3.7
dist: xenial
sudo: true
env: PIP=9.0.3
- python: 3.7
dist: xenial
sudo: true
env: PIP=10.0.1
- python: 3.7
dist: xenial
sudo: true
env: PIP=18.0
- python: 3.7
dist: xenial
sudo: true
env: PIP=latest
- python: 3.7
dist: xenial
sudo: true
env: PIP=master
- stage: flake8
python: 2.7
env: TOXENV=flake8
- stage: readme
python: 2.7
env: TOXENV=readme
- stage: deploy
install: skip # No need to install tox-travis on deploy.
script: skip # No test on the deploy stage.
python: 2.7
env: skip # No special env required.
deploy:
provider: pypi
user: jazzband
server: https://jazzband.co/projects/pip-tools/upload
distributions: sdist bdist_wheel
password:
secure: TCG9beQgarL/EDHiwSCgEf1JnofTroA5QRp2OTL3QC+eaar6FftqxcJQw3FwnHJ7NarI6E7bcxn9wDRs6tXqiLcyGOzWUnR4jQ94w/7YaLQjzLr8g1toRnb9dNwU1l14z2hmnzc4oRqu7+pi4wIpBx+11Ke9JXNcrC+cRFwCdLQ=
on:
tags: true
repo: jazzband/pip-tools
allow_failures:
- env: PIP=master