summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Porte <microjoe@microjoe.org>2017-07-14 17:59:53 +0200
committerRomain Porte <microjoe@microjoe.org>2017-07-14 17:59:53 +0200
commit47e7c8c4ab1f31fcee17ffe6fdaa0697be409705 (patch)
tree34962f33750a71adc4f665c858b07e524c1c572d
parenta8898ea0ffc47802d0afa8b278565af333e40d2a (diff)
downloadMicroJoe.ttrss-47e7c8c4ab1f31fcee17ffe6fdaa0697be409705.tar.gz
MicroJoe.ttrss-47e7c8c4ab1f31fcee17ffe6fdaa0697be409705.zip
Added travis
-rw-r--r--.travis.yml27
1 files changed, 27 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..5a95b14
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,27 @@
+---
+sudo: required
+language: python
+python: "2.7"
+
+# Install ansible
+
+before_install:
+ - sudo apt-get update -qq
+ - sudo apt-get install -qq python-apt python-pycurl python-pip
+
+install:
+ # Install ansible
+ - pip install ansible
+
+ # Check ansible version
+ - ansible --version
+
+ # Create ansible.cfg with correct roles_path
+ - printf '[defaults]\nroles_path=../' >ansible.cfg
+
+script:
+ # Basic role syntax check
+ - ansible-playbook tests/test.yml -i tests/inventory --syntax-check
+
+notifications:
+ webhooks: https://galaxy.ansible.com/api/v1/notifications/