2014-12-18 12:22:13 -05:00
|
|
|
sudo: false
|
2012-07-01 06:03:16 -04:00
|
|
|
language: ruby
|
2019-02-22 06:54:47 -05:00
|
|
|
cache: bundler
|
2013-11-27 17:52:25 -05:00
|
|
|
|
2019-09-01 11:23:32 -04:00
|
|
|
jdk:
|
|
|
|
- openjdk8
|
|
|
|
|
2019-03-03 12:05:39 -05:00
|
|
|
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
|
|
|
|
|
2012-07-01 06:03:16 -04:00
|
|
|
rvm:
|
2019-02-22 06:54:47 -05:00
|
|
|
- 2.5.0
|
2019-12-30 08:32:56 -05:00
|
|
|
- 2.6.5
|
|
|
|
- 2.7.0
|
2018-01-20 02:39:26 -05:00
|
|
|
- jruby-9.1.12.0
|
2013-11-27 17:52:25 -05:00
|
|
|
|
2014-12-03 14:08:22 -05:00
|
|
|
services:
|
|
|
|
- mongodb
|
|
|
|
- redis-server
|
2013-11-27 17:52:25 -05:00
|
|
|
|
2019-09-01 11:37:37 -04:00
|
|
|
#addons:
|
|
|
|
# rethinkdb: '2.3.4'
|
2018-01-12 05:41:12 -05:00
|
|
|
|
2013-11-27 17:52:25 -05:00
|
|
|
gemfile:
|
2019-05-17 03:36:31 -04:00
|
|
|
- gemfiles/norails.gemfile
|
2016-05-08 19:32:16 -04:00
|
|
|
- gemfiles/rails_4.2.gemfile
|
|
|
|
- gemfiles/rails_4.2_mongoid_5.gemfile
|
2019-09-01 11:37:37 -04:00
|
|
|
# - gemfiles/rails_4.2_nobrainer.gemfile
|
2016-05-05 22:18:33 -04:00
|
|
|
- gemfiles/rails_5.0.gemfile
|
2019-09-01 11:37:37 -04:00
|
|
|
# - gemfiles/rails_5.0_nobrainer.gemfile
|
2017-08-15 06:54:06 -04:00
|
|
|
- gemfiles/rails_5.1.gemfile
|
2019-05-06 15:08:33 -04:00
|
|
|
- gemfiles/rails_5.2.gemfile
|
2021-06-26 03:42:59 -04:00
|
|
|
- gemfiles/rails_6.0.gemfile
|
2013-11-27 17:52:25 -05:00
|
|
|
|
2015-12-31 13:47:55 -05:00
|
|
|
before_script:
|
|
|
|
- mkdir /tmp/dynamodb
|
2017-04-03 02:36:51 -04:00
|
|
|
- wget -O - https://s3-ap-southeast-1.amazonaws.com/dynamodb-local-singapore/dynamodb_local_latest.tar.gz | tar xz --directory /tmp/dynamodb
|
2015-12-31 13:47:55 -05:00
|
|
|
- java -Djava.library.path=/tmp/dynamodb/DynamoDBLocal_lib -jar /tmp/dynamodb/DynamoDBLocal.jar -inMemory -delayTransientStatuses -port 30180 &
|
2017-02-09 05:57:21 -05:00
|
|
|
- mongod --version
|
2015-12-31 13:47:55 -05:00
|
|
|
|
2017-04-03 02:55:59 -04:00
|
|
|
script:
|
|
|
|
- bundle exec rspec spec
|
|
|
|
- bundle exec rake test
|
|
|
|
|
2013-11-27 17:27:36 -05:00
|
|
|
matrix:
|
2013-11-27 17:52:25 -05:00
|
|
|
exclude:
|
2019-12-30 08:32:56 -05:00
|
|
|
- rvm: 2.7.0
|
|
|
|
gemfile: gemfiles/rails_5.2.gemfile
|
2019-03-03 12:05:39 -05:00
|
|
|
- rvm: 2.5.0
|
|
|
|
gemfile: gemfiles/rails_4.2.gemfile
|
2020-01-02 01:46:51 -05:00
|
|
|
- rvm: 2.6.5
|
|
|
|
gemfile: gemfiles/rails_4.2.gemfile
|
|
|
|
- rvm: 2.7.0
|
|
|
|
gemfile: gemfiles/rails_4.2.gemfile
|
2019-09-01 12:57:22 -04:00
|
|
|
- rvm: 2.5.0
|
|
|
|
gemfile: gemfiles/rails_4.2_mongoid_5.gemfile
|
2020-01-02 01:46:51 -05:00
|
|
|
- rvm: 2.6.5
|
|
|
|
gemfile: gemfiles/rails_4.2_mongoid_5.gemfile
|
|
|
|
- rvm: 2.7.0
|
|
|
|
gemfile: gemfiles/rails_4.2_mongoid_5.gemfile
|
2019-09-01 11:37:37 -04:00
|
|
|
# - rvm: 2.5.0
|
|
|
|
# gemfile: gemfiles/rails_4.2_nobrainer.gemfile
|
2019-05-17 03:36:31 -04:00
|
|
|
- rvm: jruby-9.1.12.0
|
|
|
|
gemfile: gemfiles/norails.gemfile
|
2018-01-20 02:39:26 -05:00
|
|
|
- rvm: jruby-9.1.12.0
|
2017-03-08 12:59:42 -05:00
|
|
|
gemfile: gemfiles/rails_5.0.gemfile
|
2018-02-13 04:35:22 -05:00
|
|
|
- rvm: jruby-9.1.12.0
|
2017-08-15 06:54:06 -04:00
|
|
|
gemfile: gemfiles/rails_5.1.gemfile
|
2019-05-06 15:08:33 -04:00
|
|
|
- rvm: jruby-9.1.12.0
|
|
|
|
gemfile: gemfiles/rails_5.2.gemfile
|
2021-06-26 03:42:59 -04:00
|
|
|
- rvm: jruby-9.1.12.0
|
|
|
|
gemfile: gemfiles/rails_6.0.gemfile
|
2019-09-01 11:37:37 -04:00
|
|
|
# - 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
|
2016-05-24 02:27:01 -04:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
slack:
|
2016-08-22 04:56:22 -04:00
|
|
|
secure: gpltVWntdKz0nSE6A5UvuX4qbN35uW51nsW+Ojgqm8Qsv8K240/NlZRYutFHr7GnJTe0rEEP2Oy3ZBnBtZKFn13RlTEAU/FCAxebr4H24rr29Ypwwp5xjiSE4MuoBEnroo4lw6ka3LsJnrY2PKRMiLJGsS0WsEPY4x8NUG/vyY8=
|