File tree Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Original file line number Diff line number Diff line change 1
- language : ruby
2
1
sudo : false
3
2
dist : bionic
4
3
@@ -7,6 +6,16 @@ services:
7
6
addons :
8
7
postgresql : 9.4
9
8
9
+ install :
10
+ # to fix this issue: https://travis-ci.community/t/mariadb-10-1-fails-to-install-on-xenial/3151/3
11
+ - mysql -u root -e 'CREATE USER IF NOT EXISTS travis@localhost; GRANT ALL ON *.* TO travis@localhost;'
12
+
13
+ language : ruby
14
+ rvm :
15
+ - jruby-9.1.16.0
16
+ jdk :
17
+ - openjdk8
18
+
10
19
bundler_args : --without development
11
20
script : bundle exec rake ${TEST_PREFIX}test_$DB
12
21
before_install :
@@ -38,10 +47,7 @@ before_script:
38
47
psql -c "create database activerecord_unittest;" -U postgres && \
39
48
psql -c "create database activerecord_unittest2;" -U postgres \
40
49
|| true
41
- rvm :
42
- - jruby-9.1.16.0
43
- jdk :
44
- - openjdk8
50
+
45
51
env :
46
52
- DB=mysql2 PREPARED_STATEMENTS=false
47
53
- DB=mysql2 PREPARED_STATEMENTS=true
@@ -84,10 +90,10 @@ matrix:
84
90
env : DB=sqlite3
85
91
# testing against MariaDB
86
92
- addons :
87
- mariadb : ' 10.0 '
93
+ mariadb : 10.1
88
94
env : DB=mariadb PREPARED_STATEMENTS=false
89
95
- addons :
90
- mariadb : ' 10.1 '
96
+ mariadb : 10.3
91
97
env : DB=mariadb PREPARED_STATEMENTS=true
92
98
# Rails test-suite :
93
99
- env : DB=mysql2 TEST_PREFIX="rails:" AR_VERSION="v5.0.7.1" # PS off by default
You can’t perform that action at this time.
0 commit comments