File tree 1 file changed +21
-0
lines changed
1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -99,6 +99,27 @@ matrix:
99
99
- export MYSQL_TEST_ADDR=127.0.0.1:3307
100
100
- export MYSQL_TEST_CONCURRENT=1
101
101
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
+
102
123
script :
103
124
- go test -v -covermode=count -coverprofile=coverage.out
104
125
- go vet ./...
You can’t perform that action at this time.
0 commit comments