forked from mariadb-corporation/mariadb-connector-j
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
92 lines (85 loc) · 2.87 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
89
90
91
92
#dist: trusty
sudo: false
language: java
services: docker
addons:
hosts:
- mariadb.example.com
before_install:
- chmod +x .travis/script.sh
- chmod +x .travis/build/build.sh
- chmod +x .travis/build/docker-entrypoint.sh
- chmod 777 .travis/build/
- echo "MAVEN_OPTS='-Xmx384m'" > ~/.mavenrc
install:
- mkdir tmp
- .travis/gen-ssl.sh mariadb.example.com tmp
- export PROJ_PATH=`pwd`
- export SSLCERT=$PROJ_PATH/tmp
- export ENTRYPOINT=$PROJ_PATH/.travis/sql
cache:
directories:
- $HOME/.m2
env:
- SSLPORT=3305
matrix:
allow_failures:
- env: DB=build:10.6 PACKET=8M
jdk: openjdk11
- env: DB=mysql:8.0 PACKET=8M ADDITIONAL_CONF=--default-authentication-plugin=mysql_native_password --caching_sha2_password_private_key_path=/etc/sslcert/server.key --caching_sha2_password_public_key_path=/etc/sslcert/public.key
jdk: openjdk11
include:
- env: DB=build:10.6 PACKET=8M
jdk: openjdk11
- env: SKYSQL=true PACKET=8M
jdk: openjdk11
- env: SKYSQL_HA=true PACKET=8M
jdk: openjdk11
- env: DB=mysql:5.7 PACKET=8M
jdk: openjdk11
- env: DB=mysql:8.0 PACKET=8M ADDITIONAL_CONF=--default-authentication-plugin=mysql_native_password --caching_sha2_password_private_key_path=/etc/sslcert/server.key --caching_sha2_password_public_key_path=/etc/sslcert/public.key
jdk: openjdk11
- env: DB=mariadb:10.1 PACKET=8M
jdk: openjdk11
- env: DB=mariadb:10.2 PACKET=8M
jdk: openjdk11
- env: DB=mariadb:10.3 PACKET=8M
jdk: openjdk11
- env: DB=mariadb:10.4 PACKET=8M
jdk: openjdk11
- env: DB=mariadb:10.5 PACKET=8M
jdk: openjdk11
- env: DB=mariadb:10.5 PACKET=8M
jdk: oraclejdk11
- env: DB=mariadb:10.5 PACKET=8M BENCH=true
jdk: oraclejdk11
- env: DB=mariadb:10.5 PACKET=8M GALERA=true
jdk: openjdk11
- env: DB=mariadb:10.5 PACKET=8M PROFILE=true
jdk: openjdk11
- env: DB=mariadb:10.5 PACKET=8M TYPE=PREPARE
jdk: openjdk11
- env: DB=mariadb:10.5 PACKET=8M TYPE=REWRITE
jdk: openjdk11
- env: DB=mariadb:10.5 PACKET=8M TYPE=MULTI
jdk: openjdk11
- env: DB=mariadb:10.5 PACKET=20M
jdk: openjdk11
- env: DB=mariadb:10.5 PACKET=40M
jdk: openjdk11
- env: DB=mariadb:10.5 PACKET=40M TYPE=BULK_SERVER
jdk: openjdk11
- env: DB=mariadb:10.5 PACKET=40M TYPE=NO_BULK_CLIENT
jdk: openjdk11
- env: DB=mariadb:10.5 PACKET=40M TYPE=NO_BULK_SERVER
jdk: openjdk11
- env: DB=mariadb:10.5 PACKET=40M COMPRESSION=true
jdk: openjdk11
- env: DB=mariadb:10.5 PACKET=8M MAXSCALE_VERSION=2.5.3 MAXSCALE_TEST_DISABLE=true SSLPORT=4009
jdk: openjdk11
script:
- if [[ "$DB" == build* ]] ; then .travis/build/build.sh; fi
- if [[ "$DB" == build* ]] ; then docker build -t build:10.6 --label build .travis/build/; fi
- .travis/script.sh
after_success:
- bash <(curl -s https://codecov.io/bash)