[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [metrics-cloud/master] Adds Travis CI configuration (Fixes: #33713, #33714)



commit 5b5fdaf3e41c47ba1dc4b13bd5afeff3d7c2848a
Author: Iain R. Learmonth <irl@xxxxxxxx>
Date:   Wed Mar 25 13:52:31 2020 +0000

    Adds Travis CI configuration (Fixes: #33713, #33714)
    
    Runs ansible-lint and cfn-lint as separate jobs so they can fail
    separately.
---
 .travis.yml | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..7c55703
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,15 @@
+jobs:
+  include:
+  - name: ansible-lint
+    language: python
+    install:
+    - pip install ansible-lint
+    - ansible-lint --version
+    script:
+    - cd ansible && ansible-lint .
+  - name: cfn-lint
+    language: python
+    install:
+    - pip install cfn-lint
+    script:
+    - cfn-lint cloudformation/*.yml

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits