File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -99,6 +99,27 @@ matrix:
9999 - export MYSQL_TEST_ADDR=127.0.0.1:3307
100100 - export MYSQL_TEST_CONCURRENT=1
101101
102+ - os : osx
103+ osx_image : xcode10.1
104+ addons :
105+ homebrew :
106+ packages :
107+ - mysql
108+ go : 1.12.x
109+ before_install :
110+ - go get golang.org/x/tools/cmd/cover
111+ - go get github.com/mattn/goveralls
112+ before_script :
113+ - echo -e "[server]\ninnodb_log_file_size=256MB\ninnodb_buffer_pool_size=512MB\nmax_allowed_packet=16MB\nlocal_infile=1" >> /usr/local/etc/my.cnf
114+ - mysql.server start
115+ - mysql -uroot -e 'CREATE USER gotest IDENTIFIED BY "secret"'
116+ - mysql -uroot -e 'GRANT ALL ON *.* TO gotest'
117+ - mysql -uroot -e 'create database gotest;'
118+ - export MYSQL_TEST_USER=gotest
119+ - export MYSQL_TEST_PASS=secret
120+ - export MYSQL_TEST_ADDR=127.0.0.1:3306
121+ - export MYSQL_TEST_CONCURRENT=1
122+
102123script :
103124 - go test -v -covermode=count -coverprofile=coverage.out
104125 - go vet ./...
You can’t perform that action at this time.
0 commit comments