Explorar o código

Let's try that again

Angus McLeod %!s(int64=7) %!d(string=hai) anos
pai
achega
1479c4d78f
Modificáronse 1 ficheiros con 16 adicións e 0 borrados
  1. 16 0
      .travis.yml

+ 16 - 0
.travis.yml

@@ -1,4 +1,20 @@
 sudo: required
+
+services:
+  - docker
+
+before_install:
+  - plugin_name=${PWD##*/} && echo $plugin_name
+
+script:
+  - >
+    docker run
+    -e "COMMIT_HASH=origin/tests-passed"
+    -e "SKIP_CORE=1"
+    -e SINGLE_PLUGIN=$plugin_name
+    -v $(pwd):/var/www/discourse/plugins/$plugin_name
+    discourse/discourse_test:release
+
 after_success:
   - pip install virtualenv
   - virtualenv ~/env