File tree Expand file tree Collapse file tree 1 file changed +31
-9
lines changed Expand file tree Collapse file tree 1 file changed +31
-9
lines changed Original file line number Diff line number Diff line change 1
1
language : ruby
2
- rvm :
3
- - 1.8.7
4
- - 1.9.2
5
- - 1.9.3
6
- - 2.0.0
7
- - 2.1.1
8
- - ree
9
- - rbx
10
- env : RBXOPT=-Xgc.honor_start=true
11
2
bundler_args : --without benchmarks
12
3
script :
13
4
- bundle exec rake spec
14
5
# Temporary workaround for broken Rubygems on Travis
15
6
before_install :
16
7
- gem update --system 2.1.11
17
8
- gem --version
9
+ - |
10
+ bash -c " # Install MariaDB if DB=mariadb
11
+ if [[ x$DB =~ xmariadb ]]; then
12
+ sudo service mysql stop
13
+ sudo apt-get purge '^mysql*' 'libmysql*'
14
+ sudo apt-get install python-software-properties
15
+ sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db
16
+ if [[ x$DB = xmariadb55 ]]; then
17
+ sudo add-apt-repository 'deb http://ftp.osuosl.org/pub/mariadb/repo/5.5/ubuntu precise main'
18
+ elif [[ x$DB = xmariadb10 ]]; then
19
+ sudo add-apt-repository 'deb http://ftp.osuosl.org/pub/mariadb/repo/10.0/ubuntu precise main'
20
+ fi
21
+ sudo apt-get update
22
+ sudo apt-get -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold -y install mariadb-server libmariadbd-dev
23
+ fi
24
+ "
25
+ - mysqld --version
26
+ rvm :
27
+ - 1.8.7
28
+ - 1.9.2
29
+ - 1.9.3
30
+ - 2.0.0
31
+ - 2.1.1
32
+ - ree
18
33
matrix :
19
34
allow_failures :
20
35
- rvm : rbx
36
+ include :
37
+ - rvm : 2.0.0
38
+ env : DB=mariadb55
39
+ - rvm : 2.0.0
40
+ env : DB=mariadb10
41
+ - rvm : rbx
42
+ env : RBXOPT=-Xgc.honor_start=true
You can’t perform that action at this time.
0 commit comments