1
0
Fork 0
mirror of https://github.com/aasm/aasm synced 2023-03-27 23:22:41 -04:00
aasm/.travis.yml
2018-01-20 13:10:34 +05:30

42 lines
1.1 KiB
YAML

sudo: false
language: ruby
cache: bundler
rvm:
- 2.2.6
- 2.3.3
- jruby-9.1.12.0
services:
- mongodb
- redis-server
gemfile:
- gemfiles/rails_3.2.gemfile
- gemfiles/rails_4.0.gemfile
- gemfiles/rails_4.2.gemfile
- gemfiles/rails_4.2_mongoid_5.gemfile
- gemfiles/rails_5.0.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.2.6
gemfile: gemfiles/rails_3.2.gemfile
- rvm: 2.3.3
gemfile: gemfiles/rails_3.2.gemfile
- rvm: jruby-9.1.12.0
gemfile: gemfiles/rails_5.0.gemfile
notifications:
slack:
secure: gpltVWntdKz0nSE6A5UvuX4qbN35uW51nsW+Ojgqm8Qsv8K240/NlZRYutFHr7GnJTe0rEEP2Oy3ZBnBtZKFn13RlTEAU/FCAxebr4H24rr29Ypwwp5xjiSE4MuoBEnroo4lw6ka3LsJnrY2PKRMiLJGsS0WsEPY4x8NUG/vyY8=