forked from ExpediaDotCom/hvac
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
31 lines (31 loc) · 878 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
dist: trusty
sudo: false
language: python
matrix:
include:
- python: '2.7'
env: TOXENV=py27 VAULT_BRANCH=release
- python: '3.6'
env: TOXENV=py36 VAULT_BRANCH=release RELEASE=yes
- python: '3.6'
env: TOXENV=py36 VAULT_BRANCH=head
allow_failures:
- python: '3.6'
env: TOXENV=py36 VAULT_BRANCH=head
install:
- scripts/install-vault-${VAULT_BRANCH}.sh
- pip install tox
script:
- export PATH=$HOME/bin:$PATH
- if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then make package ; else make test ; fi
deploy:
skip_cleanup: true
provider: pypi
user: otakup0pe
on:
tags: true
all_branches: true
repo: ianunruh/hvac
condition: $RELEASE == "yes"
password:
secure: MDKviWOPUrxuBAClPjh1WH/FtBj9PIDBZ1LLQFWgBsvQaauCpqN6p9M6ysWT/20Ou3AePjFJJ2KA0oYU7UW+qmXqCGyvYBiIzMXvDcjhBK60UOhFtzMDq3rEwVDCIWRfk1zCxpQYiw2Eq2T/E/wdtfUqwVVWRCL4tdCTXv48EuA=