forked from release-engineering/ubi-config
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
36 lines (35 loc) · 1.49 KB
/
Copy path.travis.yml
File metadata and controls
36 lines (35 loc) · 1.49 KB
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
sudo: false
language: python
install: pip install tox
matrix:
include:
- python: "2.6"
env: TOX_ENV=py26
dist: trusty
- python: "2.7"
env: TOX_ENV=py27
- python: "3.6"
env: TOX_ENV=static
- python: "3.6"
env: TOX_ENV=pidiff
- python: "3.5"
env: TOX_ENV=cov-travis DEPLOY=1
- python: "3.5"
env: TOX_ENV=docs
script: tox -e $TOX_ENV
after_success:
- test $TOX_ENV = docs && scripts/push-docs
deploy:
# Adding a new tag automatically releases to PyPI.
provider: pypi
user: __token__
password:
secure: gIF9tNM6YugiDZOpY/gBtIe9kzrHe06MVeyVbIsnUEYt0CvX3EdCVyboueIAQ5sfyZozyB/67vW4XWMoXzX+BNQ5JrpqikE92MAaFPqP+w4QRBGpNOmriX54vI6EAZScIqdiW1CuLIEK637VHk9rzW24ghupXF7eCxBFlrzMvdezsCHBPnGQ6zH+zpPaBPds93LOMn3FALD0jlGsOQ8YaI/ptH4Js4R2X4lhrcA/owVCr77cXEIjhx7EkJkh15HrhiWlGyi2JvAjFUEmJP56erZ2unx2FwOiHPNt32KE3nSHD5dq+w7Segx/pu41teFOYhy8JZnniFyZD3NlVLISAex4QUrJPtpmyI3Vqn0k8K04gcVzEpoLQKKmjc06LkBN41De6w/tUxdxtTmoZppBgH6fxOrcz85ap9p/t2yFcw6rT1svJovuAm11ikziNoeIsNJzMBkHURRc3fJ9QXt1Dr6MDwtP+uQXxf2Z7s3GgEVuHV9i3jA27zSGRCTjy6D+hlaEK8q5DkEtLHK73n0WH52Rlfcdi7jys75qB0FMczJCcEFK5o7qdkBocKIfRvWTjP6erNf1DqdwpYyMBnHtsg6Dc61LP50qzW73JHwWAf4geKcpW39UQl+CLyTjrlKZQ5SxZbB1EihV5GG+tj+9TW1rOiDqI3sfEXs//bybNbQ=
on:
tags: true
# Only one of the environments in the matrix should have
# deployments enabled. It's mostly arbitrary which one,
# but best to select some Python 3.x so up-to-date tools
# are used during release.
condition: $DEPLOY = 1
skip_existing: true