forked from ankane/distribute_reads
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (34 loc) · 827 Bytes
/
.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
dist: bionic
language: ruby
services:
- postgresql
addons:
postgresql: 10
script: bundle exec rake test
before_script:
- createdb distribute_reads_test_primary
- createdb distribute_reads_test_replica
jobs:
include:
- rvm: 2.7
gemfile: Gemfile
- rvm: 2.6
gemfile: test/gemfiles/activerecord52.gemfile
- rvm: 2.5
gemfile: test/gemfiles/activerecord51.gemfile
- rvm: 2.4
gemfile: test/gemfiles/activerecord50.gemfile
- rvm: 2.7
gemfile: Gemfile
env: ADAPTER=mysql2
services:
- mysql
before_script:
- mysqladmin create distribute_reads_test_primary
- mysqladmin create distribute_reads_test_replica
- rvm: 2.7
gemfile: test/gemfiles/makara3.gemfile
notifications:
email:
on_success: never
on_failure: change