mirror of https://github.com/fspc/workstand.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
711 B
28 lines
711 B
9 years ago
|
---
|
||
|
|
||
|
# Configuration directives for Travis CI
|
||
|
# --------------------------------------
|
||
|
|
||
|
# See the Travis documentation for help on writing this file.
|
||
|
|
||
|
# [Travis CI] http://travis-ci.org
|
||
|
# [configuration] http://about.travis-ci.org/docs/user/build-configuration/
|
||
|
|
||
|
|
||
|
language: python # Needed to run ansible
|
||
|
|
||
|
python:
|
||
|
- "2.7"
|
||
|
|
||
|
install:
|
||
|
- pip install ansible
|
||
|
|
||
|
script:
|
||
|
# Syntax check every ansible playbook in root
|
||
|
# Don't check main, though, as vars_prompt still
|
||
|
# trigger during syntax checks, and travis fails
|
||
|
- find . -maxdepth 1 -type f -name '*.yml' -not -name '.*' -not -name 'main.yml' | xargs -t -n1 ansible-playbook --syntax-check -i inventory
|
||
|
|
||
|
notifications:
|
||
|
email:
|
||
|
- zenoamaro@gmail.com
|