1
0
Fork 0
mirror of https://github.com/aasm/aasm synced 2023-03-27 23:22:41 -04:00
aasm/.travis.yml
Farrukh b9c9a4e738 Support Minitest spec expectations (#387)
*  must_allow_event

* must_allow_transition_to

* must_have_state

* must_transition_to

* minitest assertions
2017-04-03 12:25:59 +05:30

52 lines
1.4 KiB
YAML

sudo: false
language: ruby
cache: bundler
rvm:
- 1.9.3
- 2.2.6
- 2.3.3
- jruby-1.7 # JRuby in 1.9 mode
- jruby-9.0.5.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: 1.9.3
gemfile: gemfiles/rails_4.2_mongoid_5.gemfile
- rvm: 1.9.3
gemfile: gemfiles/rails_5.0.gemfile
- rvm: 2.2.6
gemfile: gemfiles/rails_3.2.gemfile
- rvm: 2.3.3
gemfile: gemfiles/rails_3.2.gemfile
- rvm: jruby-1.7
gemfile: gemfiles/rails_4.2_mongoid_5.gemfile
- rvm: jruby-1.7
gemfile: gemfiles/rails_5.0.gemfile
- rvm: jruby-9.0.5.0
gemfile: gemfiles/rails_5.0.gemfile
notifications:
slack:
secure: gpltVWntdKz0nSE6A5UvuX4qbN35uW51nsW+Ojgqm8Qsv8K240/NlZRYutFHr7GnJTe0rEEP2Oy3ZBnBtZKFn13RlTEAU/FCAxebr4H24rr29Ypwwp5xjiSE4MuoBEnroo4lw6ka3LsJnrY2PKRMiLJGsS0WsEPY4x8NUG/vyY8=