discourse-subscriptions/.travis.yml

41 lines
734 B
YAML
Raw Normal View History

2017-02-01 22:57:57 -05:00
language: ruby
env:
global:
- DISCOURSE_HOSTNAME=www.example.com
dist: trusty
cache: bundler --path $TRAVIS_BUILD_DIR/discourse/vendor
2017-02-13 22:40:36 -05:00
addons:
postgresql: 9.5
2017-02-14 19:25:32 -05:00
apt:
packages:
- gifsicle
- jpegoptim
- optipng
- jhead
rvm:
- 2.3.1
services:
- redis-server
before_install:
- git clone https://github.com/discourse/discourse.git discourse
- cd discourse
install:
- touch config/stripe.yml
2017-02-23 22:15:26 -05:00
- git clone $TRAVIS_BUILD_DIR plugins/discourse-donations --depth 50 --branch $TRAVIS_BRANCH
before_script:
- gem install bundler
- bundle install
- bundle exec rake db:create db:migrate
script:
2017-02-23 20:42:59 -05:00
- "bundle exec rake plugin:spec[discourse-donations] && bundle exec rake qunit:test['200000']"