forked from release-engineering/pushcollector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (35 loc) · 1.5 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
sudo: false
language: python
before_install:
# for rpm-py-installer
- sudo apt-get install -y rpm
install: pip install tox
matrix:
include:
- python: "2.7"
env: TOX_ENV=py27
- python: "3.6"
env: TOX_ENV=static
- python: "3.6"
env: TOX_ENV=pidiff
- python: "3.6"
env: TOX_ENV=cov-travis DEPLOY=1
- python: "3.6"
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: R+gNDVY+fcuZMfYs6EMUUBohW7YH6tZrK2bBhibLgOox0pvf+qBhwuRBQrQVyMx09zdL84KMK6vXfwoF10hvEW8IxEAq8jNGiJe11Mr74RCEigESbPsnJffBNEKPQFH5DyNfbZtpAuRf7Opj311TFWZLOYkYfzRfS/lluM3cZ0x6SGZvImXUeFTLG1W/dPvMXrOdfVovX1NSxO9TVh0nxPa4c+Xgd2/aOr/KNJqX3R2qJAabjmqi3mZ079ssdAvPhQzG2FUbPCnn8+C5YRo80Yr7Q+rvsLQAOVclGv6Avk3aorBvHXBPAtN4mUZf3h3Lav3EMiR5vyIZhf4FSBSgorqAwdMK+HH3lpgfVt719Juept23RjNYokLInH+UEGAVExAc+BSlPuQhMp6Q9aiUJHHZlOTz+of6KfrieNB/b9KaqIciyTkOyK6h2CZe72uWo+lXyM1JwqU7rCMGyEU9YD14X/JoLh9NbLHxdHYgo3rTm6eMxdHXK8GDo44/QmIUaaaPO0p2GTukREdm1nVtzPQq/cbfXq1gO8keOBCHJR9d462vuD2u77fCeSnwevHo8swhdKKH3Wnf0427ydx8XsrRIxhZXnDyUj1Eqsh73JngEcyvnhV5B7l+06JstLDZweB1JDOKxxDr0y1A4KM1uKtniyLOX4luUa7t4IsNAJk=
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