forked from aasm/aasm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
54 lines (46 loc) · 1.46 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
sudo: false
language: ruby
cache: bundler
rvm:
- 2.2.6
- 2.3.3
- jruby-9.1.12.0
services:
- mongodb
- redis-server
addons:
rethinkdb: '2.3.6'
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_4.2_nobrainer.gemfile
- gemfiles/rails_5.0.gemfile
- gemfiles/rails_5.0_nobrainer.gemfile
- gemfiles/rails_5.1.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
- rvm: jruby-9.1.12.0
gemfile: gemfiles/rails_5.1.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=