forked from TerryHowe/ansible-modules-hashivault
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
56 lines (56 loc) · 1.77 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
stages:
- test
language: python
jobs:
include:
- stage: linting
install: pip install pycodestyle==2.5.0
name: "Linting with pycodestyle"
python: "3.6"
script: pycodestyle --max-line-length=120 ansible
- stage: test
name: Tests Python 2.7
sudo: required
python:
- '2.7'
services:
- docker
before_install:
- docker pull vault:latest
- docker ps -a
install: pip install tox-travis
script: tox
- stage: test
name: Tests Python 3.6
sudo: required
python:
- '3.6'
services:
- docker
before_install:
- docker pull vault:latest
- docker ps -a
install: pip install tox-travis
script: tox
- stage: test
name: Generating docs
python: '3.6'
deploy:
local-dir: ansible-repo/ansible/docs/docsite/_build/html
provider: pages
skip-cleanup: true
github-token: "$GITHUB_TOKEN"
keep-history: true
on:
tags: true
env:
- PLUGINS=''
install:
- pip install sphinx sphinx_rtd_theme
script:
- ./makedocs.sh
on:
tags: true
env:
global:
secure: oCC/bugXphWhcjNNFEGp5Cq7VrSrKiP7Nfw8BL8rNUia1RXD1DxE5jdddLdfWapFO9BRViOInyST9clN4Q67PmJAiTkeOcF0GbkyWzrwA7Tu9g0D7YjlgHo/euqL33hqf0iRst9gW4If0Gq9sa20+US6yNOX9OGa4LHGBjB55S0ayckCzRrOJg+eZNTe1M6YibQuvZXqBPJN3Juj3q37S4QGrIz275RrmdKdezZFs+JHt8W+HRm88lFTOMINSuc3tuoJjnAC0c+jJLiAC2HQ6AKgFS8DNqr8G8gMwhqtvAiSegQrgxot8bFdKmE0sQ61aKKzMF/GOGDPFPPeUlk33rXFyIsFEmEzhqtoGPobyZX/KRlJu55Aqgr/fHgoEAGOkb2wTsLPX9tI2GIuZ/oaV2rxgYsZhIMXG6i4+yXM4U6OBgHfdJPHwZoCpZRX6kixc3/aFny3E9jrVtDVZGwoJHq1e3O0pL0sYB5CHO7icLJrf4mOjI0hoPV9byd9JrJi5ROFwRfXeuMFYYHe/yhcclnYI/Cg91wrzLq+2877+vYWvBFoPEeKvCsLMSz3ko7QLv7s8dAhgV4TXrYNuayLtFcvij4H1s0DQcCTmFIf/LHp3Jnv2YsoNtcSYDLxGrg8w/jq4pgObyw0VXlznj2X6pMvYhufW6ObTUH4aoEQ3OA=