2017-07-12 07:00:18 -04:00
|
|
|
# We want to use the KVM-based system, so require sudo
|
|
|
|
sudo: required
|
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
|
|
|
before_install:
|
2017-07-13 08:32:11 -04:00
|
|
|
- plugin_name=${PWD##*/} && echo $plugin_name
|
2017-07-12 07:00:18 -04:00
|
|
|
|
|
|
|
script:
|
|
|
|
- >
|
2017-07-13 08:32:11 -04:00
|
|
|
docker run
|
2017-07-12 07:00:18 -04:00
|
|
|
-e "COMMIT_HASH=origin/tests-passed"
|
|
|
|
-e "LOAD_PLUGINS=1"
|
|
|
|
-e SINGLE_PLUGIN=$plugin_name
|
|
|
|
-e MODULE="Acceptance: Chat Integration"
|
|
|
|
-v $(pwd):/var/www/discourse/plugins/$plugin_name
|
|
|
|
-v $(pwd)/docker_patched.rake:/var/www/discourse/lib/tasks/docker.rake
|
|
|
|
discourse/discourse_test:release
|
|
|
|
|