sudo: false language: ruby cache: bundler jdk: - openjdk8 before_install: - rvm list - gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true - gem install bundler -v '1.16.1' - bundle _1.16.1_ install rvm: - 2.5.0 - 2.6.5 - 2.7.0 - jruby-9.1.12.0 services: - mongodb - redis-server #addons: # rethinkdb: '2.3.4' gemfile: - gemfiles/norails.gemfile - gemfiles/rails_4.2.gemfile - gemfiles/rails_4.2_mongoid_5.gemfile # - gemfiles/rails_4.2_nobrainer.gemfile - gemfiles/rails_5.0.gemfile # - gemfiles/rails_5.0_nobrainer.gemfile - gemfiles/rails_5.1.gemfile - gemfiles/rails_5.2.gemfile before_script: - mkdir /tmp/dynamodb - wget -O - https://s3-ap-southeast-1.amazonaws.com/dynamodb-local-singapore/dynamodb_local_latest.tar.gz | tar xz --directory /tmp/dynamodb - java -Djava.library.path=/tmp/dynamodb/DynamoDBLocal_lib -jar /tmp/dynamodb/DynamoDBLocal.jar -inMemory -delayTransientStatuses -port 30180 & - mongod --version script: - bundle exec rspec spec - bundle exec rake test matrix: exclude: - rvm: 2.7.0 gemfile: gemfiles/rails_5.2.gemfile - rvm: 2.5.0 gemfile: gemfiles/rails_4.2.gemfile - rvm: 2.6.5 gemfile: gemfiles/rails_4.2.gemfile - rvm: 2.7.0 gemfile: gemfiles/rails_4.2.gemfile - rvm: 2.5.0 gemfile: gemfiles/rails_4.2_mongoid_5.gemfile - rvm: 2.6.5 gemfile: gemfiles/rails_4.2_mongoid_5.gemfile - rvm: 2.7.0 gemfile: gemfiles/rails_4.2_mongoid_5.gemfile # - rvm: 2.5.0 # gemfile: gemfiles/rails_4.2_nobrainer.gemfile - rvm: jruby-9.1.12.0 gemfile: gemfiles/norails.gemfile - rvm: jruby-9.1.12.0 gemfile: gemfiles/rails_5.0.gemfile - rvm: jruby-9.1.12.0 gemfile: gemfiles/rails_5.1.gemfile - rvm: jruby-9.1.12.0 gemfile: gemfiles/rails_5.2.gemfile # - rvm: jruby-9.1.12.0 # gemfile: gemfiles/rails_4.2_nobrainer.gemfile # - rvm: jruby-9.1.12.0 # gemfile: gemfiles/rails_5.0_nobrainer.gemfile notifications: slack: secure: gpltVWntdKz0nSE6A5UvuX4qbN35uW51nsW+Ojgqm8Qsv8K240/NlZRYutFHr7GnJTe0rEEP2Oy3ZBnBtZKFn13RlTEAU/FCAxebr4H24rr29Ypwwp5xjiSE4MuoBEnroo4lw6ka3LsJnrY2PKRMiLJGsS0WsEPY4x8NUG/vyY8=