.travis.yml in slack-ruby-bot-server-0.5.0 vs .travis.yml in slack-ruby-bot-server-0.6.0
- old
+ new
@@ -1,23 +1,25 @@
language: ruby
cache: bundler
-services:
- - mongodb
-
matrix:
include:
- rvm: 2.3.1
script:
- bundle exec danger
- rvm: 2.3.1
- - rvm: 2.3.0
- - rvm: ruby-head
- - rvm: jruby-head
- allow_failures:
- - rvm: ruby-head
- - rvm: jruby-head
+ env: DATABASE_ADAPTER=activerecord
+ services:
+ - postgresql
+ - rvm: 2.3.1
+ env: DATABASE_ADAPTER=mongoid
+ services:
+ - mongodb
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
+
+script:
+ - bundle exec rake
+ - BUNDLE_GEMFILE=Gemfile && cd sample_apps/sample_app_$DATABASE_ADAPTER && bundle && bundle exec rake