]> git.immae.eu Git - github/fretlink/ansible-clever.git/blame - .travis.yml
Merge pull request #7 from fmenou/better-wait-deploy
[github/fretlink/ansible-clever.git] / .travis.yml
CommitLineData
8692bc27
GD
1---
2language: python
3python: "2.7"
4
5# Use the new container infrastructure
6sudo: false
7
8# Install ansible
9addons:
10 apt:
11 packages:
12 - python-pip
13
14install:
15 # Install ansible
16 - pip install ansible
17
18 # Check ansible version
19 - ansible --version
20
f03052d5
FM
21 # Alias role name to mimic actual Galaxy deployment
22 - ln -s ansible-clever ../clever
23
8692bc27
GD
24 # Create ansible.cfg with correct roles_path
25 - printf '[defaults]\nroles_path=../' >ansible.cfg
26
27script:
28 # Basic role syntax check
29 - ansible-playbook tests/test.yml -i tests/inventory --syntax-check
30
31notifications:
86a4e060 32 slack: fretlink:n84rSINeJTLRjUTgXfB1aILX