DEV: Add travis config

DEV: Add travis config

diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..e9962d7
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,14 @@
+# We want to use the KVM-based system, so require sudo
+sudo: required
+services:
+  - docker
+
+before_install:
+  - git clone --depth=1 https://github.com/discourse/discourse-plugin-ci
+  - git clone --depth=1 https://github.com/discourse/discourse-assign $HOME/plugins/discourse-assign
+
+install: true # Prevent travis doing bundle install
+
+script:
+  - export DOCKER_OPTIONS="-v ${HOME}/plugins/discourse-assign:/var/www/discourse/plugins/discourse-assign"
+  - discourse-plugin-ci/script.sh

GitHub sha: 2cec5796

1 Like