summaryrefslogtreecommitdiffstats
path: root/roles/nickhammond.logrotate/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/nickhammond.logrotate/.travis.yml')
-rw-r--r--roles/nickhammond.logrotate/.travis.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/roles/nickhammond.logrotate/.travis.yml b/roles/nickhammond.logrotate/.travis.yml
new file mode 100644
index 000000000..161023def
--- /dev/null
+++ b/roles/nickhammond.logrotate/.travis.yml
@@ -0,0 +1,14 @@
+---
+language: python
+python: "2.7"
+before_install:
+ - sudo apt-get update -qq
+ - sudo apt-get install -qq python-apt python-pycurl
+install:
+ - pip install ansible
+script:
+ - "printf '[defaults]\nroles_path = ../' > ansible.cfg"
+ - ansible-playbook -i tests/inventory --syntax-check tests/test.yml
+ - ansible-playbook -i tests/inventory --connection=local --sudo -vvvv tests/test.yml
+notifications:
+ email: false