Added unit tests, test pillars, Kitchen and Travis
diff --git a/.kitchen.yml b/.kitchen.yml
new file mode 100644
index 0000000..0eb127a
--- /dev/null
+++ b/.kitchen.yml
@@ -0,0 +1,63 @@
+---
+driver:
+ name: docker
+ hostname: backupninja.ci.local
+ use_sudo: false
+
+provisioner:
+ name: salt_solo
+ salt_install: bootstrap
+ salt_bootstrap_url: https://bootstrap.saltstack.com
+ salt_version: latest
+ require_chef: false
+ log_level: error
+ formula: backupninja
+ grains:
+ noservices: True
+ dependencies:
+ - name: linux
+ repo: git
+ source: https://github.com/salt-formulas/salt-formula-linux
+ state_top:
+ base:
+ "*":
+ - backupninja
+ pillars:
+ top.sls:
+ base:
+ "*":
+ - backupninja
+
+verifier:
+ name: inspec
+ sudo: true
+
+
+platforms:
+ - name: <%=ENV['PLATFORM'] || 'ubuntu-xenial'%>
+ driver_config:
+ image: <%=ENV['PLATFORM'] || 'trevorj/salty-whales:xenial'%>
+ platform: ubuntu
+
+suites:
+
+ - name: rdiff
+ provisioner:
+ pillars-from-files:
+ backupninja.sls: tests/pillar/rdiff.sls
+
+ - name: rsync
+ provisioner:
+ pillars-from-files:
+ backupninja.sls: tests/pillar/rsync.sls
+
+ - name: s3
+ provisioner:
+ pillars-from-files:
+ backupninja.sls: tests/pillar/s3.sls
+
+ - name: webdav
+ provisioner:
+ pillars-from-files:
+ backupninja.sls: tests/pillar/webdav.sls
+# vim: ft=yaml sw=2 ts=2 sts=2 tw=125