forked from hvac/hvac
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (32 loc) · 1.1 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
dist: xenial
language: python
python:
- '2.7'
- '3.6'
- '3.7'
env:
- HVAC_VAULT_VERSION=0.10.4
- HVAC_VAULT_VERSION=0.11.0 # This ver kept explicitly; it has subsequently reverted backwards-incompatible changes.
- HVAC_VAULT_VERSION=0.11.6
- HVAC_VAULT_VERSION=1.0.3
- HVAC_VAULT_VERSION=1.1.0
- HVAC_VAULT_VERSION=HEAD
- TOXENV=flake8
matrix:
include:
- name: 'Test Documentation Build - Sphinx: "make html"'
env: TOXENV=docs
allow_failures:
# Ignore failed tests run against Vault builds using the HEAD ref at: https://github.com/hashicorp/vault.
- env: HVAC_VAULT_VERSION=HEAD
# Don't wait on the "allow_failures" build jobs before reporting on the overall success/failure of the current build.
fast_finish: true
install:
- tests/scripts/install-consul.sh
- tests/scripts/install-vault.sh ${HVAC_VAULT_VERSION}
- pip install tox-travis
script:
- make test
notifications:
webhooks:
secure: "IuHvo7I77oZKo++O9QSq1TOtYOvZnqSTg7uO1lr7/+6fMsFLZE4YQVVqa3qyJwn5Q2DafAIdzVj5OyWT9FK8hDTAhqkDL4iVnh+Bk+ph1WBYA0OzFv32K0M46byUwTMmeq51DIuTozhJ/v58pYk6d95MJT9J5/cXCeGmr2vAUqo="