From 7d1d371871110e80c0bda4fdfc6947fc1ccf01e8 Mon Sep 17 00:00:00 2001 From: Joerg Kastning Date: Tue, 22 Aug 2017 16:19:00 +0200 Subject: [PATCH] Merged file from dev_create_vars --- .travis.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..e62f083 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,19 @@ +--- +language: python +python: "2.7" + +before_install: + # Make sure everything's up to date. + - sudo apt-get update -qq + +install: + # Install Ansible + - pip install ansible + + # Add ansible.cfg to pick up role path + - "printf '[defaults]\nroles_path = ../' > ansible.cfg" + +script: + # We'll add some commands to test the role here. + # Check the role/playbook's syntax. + - ansible-playbook -i tests/inventory tests/test.yml --syntax-check