forked from lafarer/ansible-role-do-droplets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (36 loc) · 1.6 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: required
dist: trusty
language: python
python: '2.7'
env:
- ANSIBLE_VERSION=latest
- ANSIBLE_VERSION=2.2.0.0
- ANSIBLE_VERSION=2.1.3
- ANSIBLE_VERSION=2.1.2
- ANSIBLE_VERSION=2.1.1.0
- ANSIBLE_VERSION=2.1.0.0
- ANSIBLE_VERSION=2.0.2.0
- ANSIBLE_VERSION=2.0.1.0
- ANSIBLE_VERSION=2.0.0.2
- ANSIBLE_VERSION=2.0.0.1
- ANSIBLE_VERSION=2.0.0.0
branches:
only:
- master
before_install:
- sudo apt-get update -qq
install:
- if [ "$ANSIBLE_VERSION" = "latest" ]; then pip install --no-binary ansible ansible;
else pip install --no-binary ansible ansible==$ANSIBLE_VERSION; fi
- ansible --version
- printf '[defaults]\nroles_path=../' >ansible.cfg
script:
- ansible-playbook tests/test.yml -i tests/inventory --syntax-check
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/
hipchat:
rooms:
secure: KCO+kDcEjNfIEByNIqVwSEDWHqsu5+VEURkBTbfQF3TdV71Tp1CIb3/wbGnwQgsC1U8GkdeErS2hvt6vxrRy8nViWsDedorf2xL13/ACjhsCvozio7PAvE25xyhcSQCK7trJPRHMM54S3IMTdTFLuQ1R0SYvoOfMajlDKeQ+fgMpDBG90vH4XBZOT4ZujnWuGjWAmcpjAa0kNnbnL4f8vuIsswVS/VEb6GSQ/dPZlMxTuFz+Inju07Lb9rjlTbwpc6xvJ2tbzBRKsopEklIf7VhyuFk+Y0gbKycV+mzV31UFnnklFH84hOqUD1z6n+OCygRWqi6BdmKkXhxbpH3M2sSGDhlx/wTP8b7s1v66j/W9ONgyIl/56+LMUlREGW8z/k1KJSCT7twDl9bBp23sUEcJ6/z3oCgFnVQEBJxdINtbE/1CAgkc5V4tpS4LOLTcN+MtnPu1y3QBKZ6w+ItfwXc2aYXOELMRZzJEy6mrdgA4Zc+gtE+BDOaiuUq4/hgHHuqLbjFzfZ9o994NF27lGxpg7gtTePAH59Fm25sZpGDKGHmUnNA5dlgAFdkww/F9MzcmsjBJePAFStIpM4BgRHWa5pn3VK3T115I/eL7yqSjRZWfeg1NOeD/24qgs263MRyoBmhe/8gWjuJ1xrvBQ+eZUtFDJ0XfiJhq0xjZwW0=
template:
- '%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message}'
notify: true