Skip to content

Travis: test with MariaDB #367

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,20 @@ go:
- 1.2
- 1.3
- 1.4
- 1.5
- tip

matrix:
include:
- go: 1.5
addons:
mariadb: 5.5
- go: 1.5
addons:
mariadb: "10.0"
- go: 1.5
addons:
mariadb: 10.1

before_script:
- mysql -e 'create database gotest;'
- mysql -e "create database /*M!50701 IF NOT EXISTS */ gotest;"
4 changes: 2 additions & 2 deletions driver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -833,8 +833,8 @@ func TestLongData(t *testing.T) {
maxAllowedPacketSize--

// don't get too ambitious
if maxAllowedPacketSize > 1<<25 {
maxAllowedPacketSize = 1 << 25
if maxAllowedPacketSize > 1<<23 {
maxAllowedPacketSize = 1 << 23
}

dbt.mustExec("CREATE TABLE test (value LONGBLOB)")
Expand Down