forked from brianmario/mysql2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
88 lines (88 loc) · 1.79 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
sudo: required
dist: trusty
services: docker
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.6 --quiet
- 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.6
- 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=mariadb10.3
addons:
mariadb: 10.3
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
dist: xenial
addons:
hosts:
- mysql2gem.example.com
- os: osx
rvm: 2.4
env: DB=mysql56
addons:
hosts:
- mysql2gem.example.com
- rvm: 2.4
env: DOCKER=centos
before_install: true
install: docker build -t mysql2 -f .travis_Dockerfile_centos .
script: docker run --add-host=mysql2gem.example.com:127.0.0.1 -t mysql2
fast_finish: true
allow_failures:
- rvm: ruby-head
- os: osx
rvm: 2.4
env: DB=mysql56