X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/47678874a2fd3d2889f6a3695d818b632b6c30c5..58e6d89291e8c457589dd8bf7ff50557de32df66:/.travis.yml?ds=sidebyside diff --git a/.travis.yml b/.travis.yml index 825baf4ba..86655a944 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,82 @@ +sudo: false language: ruby -rvm: - - 1.9.3 -script: - - bundle exec rubocop -f fuubar - - bundle exec foodcritic -f any cookbooks +cache: bundler +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 (devices)" + script: + - bundle exec kitchen test devices-ubuntu-1804 + - name: "Test Kitchen (dhcpd)" + script: + - bundle exec kitchen test dhcpd-ubuntu-1804 + - name: "Test Kitchen (dmca)" + script: + - bundle exec kitchen test dmca-ubuntu-1804 + - name: "Test Kitchen (donate)" + script: + - bundle exec kitchen test donate-ubuntu-1804 + - name: "Test Kitchen (exim)" + script: + - bundle exec kitchen test exim-ubuntu-1804 + - name: "Test Kitchen (fail2ban)" + script: + - bundle exec kitchen test fail2ban-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 (openssh)" + script: + - bundle exec kitchen test openssh-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