]> git.openstreetmap.org Git - chef.git/blobdiff - .travis.yml
Add basic tests for clamav, exim and spamassassin cookbooks
[chef.git] / .travis.yml
index b513cbf4c0034d62824c4de663f5885cd757c64c..9cd34d6e05cb59feb29eaa9a64a183c86ca4c621 100644 (file)
@@ -1,8 +1,64 @@
 sudo: false
 language: ruby
 cache: bundler
 sudo: false
 language: ruby
 cache: bundler
-rvm:
-  - 2.3.1
-script:
-  - bundle exec rubocop -f fuubar
-  - bundle exec foodcritic -f any cookbooks
+services:
+  - docker
+jobs:
+  include:
+    - name: "Cookstyle"
+      script:
+        - bundle exec cookstyle -f fuubar
+    - name: "Test Kitchen (accounts)"
+      script:
+        - bundle exec kitchen test accounts-ubuntu-1804
+    - name: "Test Kitchen (apache)"
+      script:
+        - bundle exec kitchen test apache-ubuntu-1804
+    - name: "Test Kitchen (apt)"
+      script:
+        - bundle exec kitchen test apt-ubuntu-1804
+    - name: "Test Kitchen (bind)"
+      script:
+        - bundle exec kitchen test bind-ubuntu-1804
+    - name: "Test Kitchen (blogs)"
+      script:
+        - bundle exec kitchen test blogs-ubuntu-1804
+    - name: "Test Kitchen (clamav)"
+      script:
+        - bundle exec kitchen test clamav-ubuntu-1804
+    - name: "Test Kitchen (exim)"
+      script:
+        - bundle exec kitchen test exim-ubuntu-1804
+    - name: "Test Kitchen (forum)"
+      script:
+        - bundle exec kitchen test forum-ubuntu-1804
+    - name: "Test Kitchen (letsencrypt)"
+      script:
+        - bundle exec kitchen test letsencrypt-ubuntu-1804
+    - name: "Test Kitchen (munin)"
+      script:
+        - bundle exec kitchen test munin-ubuntu-1804
+    - name: "Test Kitchen (munin-server)"
+      script:
+        - bundle exec kitchen test munin-server-ubuntu-1804
+    - name: "Test Kitchen (mysql)"
+      script:
+        - bundle exec kitchen test mysql-ubuntu-1804
+    - name: "Test Kitchen (networking)"
+      script:
+        - bundle exec kitchen test networking-ubuntu-1804
+    - name: "Test Kitchen (ntp)"
+      script:
+        - bundle exec kitchen test ntp-ubuntu-1804
+    - name: "Test Kitchen (otrs)"
+      script:
+        - bundle exec kitchen test otrs-ubuntu-1804
+    - name: "Test Kitchen (python)"
+      script:
+        - bundle exec kitchen test python-ubuntu-1804
+    - name: "Test Kitchen (spamassassin)"
+      script:
+        - bundle exec kitchen test spamassassin-ubuntu-1804
+    - name: "Test Kitchen (tools)"
+      script:
+        - bundle exec kitchen test tools-ubuntu-1804