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
|
|
|
|
2018-04-07 22:15:44 -04:00
|
|
|
install: true # Prevent travis doing bundle install
|
|
|
|
|
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"
|
2017-07-21 07:28:32 -04:00
|
|
|
-e "SKIP_CORE=1"
|
2017-07-12 07:00:18 -04:00
|
|
|
-e SINGLE_PLUGIN=$plugin_name
|
|
|
|
-v $(pwd):/var/www/discourse/plugins/$plugin_name
|
|
|
|
discourse/discourse_test:release
|
|
|
|
|