forked from brianmario/mysql2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
74 lines (74 loc) · 1.41 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
sudo: required
dist: trusty
language: ruby
bundler_args: --without benchmarks development
# Pin Rubygems to a working version. Sometimes it breaks upstream. Update now and then.
before_install:
- gem --version
- gem update --system 2.7.3
- gem update bundler
- gem --version
- bash .travis_setup.sh
addons:
hosts:
- mysql2gem.example.com
apt:
packages:
- mysql-server-5.6
- mysql-client-core-5.6
- mysql-client-5.6
rvm:
- 2.5
- 2.4
- 2.3
- 2.2
- 2.1
- 2.0.0
- ruby-head
matrix:
include:
- rvm: 2.4
env: DB=mariadb10.0
addons:
mariadb: 10.0
hosts:
- mysql2gem.example.com
- rvm: 2.4
env: DB=mariadb10.1
addons:
mariadb: 10.1
hosts:
- mysql2gem.example.com
- rvm: 2.4
env: DB=mariadb10.2
addons:
mariadb: 10.2
hosts:
- mysql2gem.example.com
- rvm: 2.4
env: DB=mysql55
addons:
hosts:
- mysql2gem.example.com
- rvm: 2.4
env: DB=mysql57
addons:
hosts:
- mysql2gem.example.com
- rvm: 2.4
env: DB=mysql80
addons:
hosts:
- mysql2gem.example.com
- os: osx
rvm: 2.4
env: DB=mysql56
addons:
hosts:
- mysql2gem.example.com
fast_finish: true
allow_failures:
- rvm: ruby-head
- os: osx
rvm: 2.4
env: DB=mysql56