[tor-commits] [metrics-cloud/master] Adds Travis CI configuration (Fixes: #33713, #33714)
irl at torproject.org
irl at torproject.org
Wed Mar 25 14:13:13 UTC 2020
commit 5b5fdaf3e41c47ba1dc4b13bd5afeff3d7c2848a
Author: Iain R. Learmonth <irl at fsfe.org>
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
More information about the tor-commits
mailing list