File tree Expand file tree Collapse file tree 3 files changed +22
-2
lines changed
Expand file tree Collapse file tree 3 files changed +22
-2
lines changed Original file line number Diff line number Diff line change 1+ language : go
2+ sudo : false
3+ go_import_path : github.com/go-session/mysql
4+ go :
5+ - 1.9
6+ services :
7+ - mysql
8+ before_install :
9+ - mysql -e 'CREATE DATABASE myapp_test;'
10+ - go get -t -v ./...
11+
12+ script :
13+ - go test -race -coverprofile=coverage.txt -covermode=atomic
14+
15+ after_success :
16+ - bash <(curl -s https://codecov.io/bash)
Original file line number Diff line number Diff line change 11# MySQL store for [ Session] ( https://github.com/go-session/session )
22
3- [ ![ ReportCard] [ reportcard-image ]] [ reportcard-url ] [ ![ GoDoc] [ godoc-image ]] [ godoc-url ] [ ![ License] [ license-image ]] [ license-url ]
3+ [ ![ Build ] [ Build-Status-Image ]] [ Build-Status-Url ] [ ![ Codecov ] [ codecov-image ]] [ codecov-url ] [ ![ ReportCard] [ reportcard-image ]] [ reportcard-url ] [ ![ GoDoc] [ godoc-image ]] [ godoc-url ] [ ![ License] [ license-image ]] [ license-url ]
44
55## Quick Start
66
@@ -85,6 +85,10 @@ $ ./server
8585
8686 Copyright (c) 2018 Lyric
8787
88+ [ Build-Status-Url ] : https://travis-ci.org/go-session/mysql
89+ [ Build-Status-Image ] : https://travis-ci.org/go-session/mysql.svg?branch=master
90+ [ codecov-url ] : https://codecov.io/gh/go-session/mysql
91+ [ codecov-image ] : https://codecov.io/gh/go-session/mysql/branch/master/graph/badge.svg
8892[ reportcard-url ] : https://goreportcard.com/report/github.com/go-session/mysql
8993[ reportcard-image ] : https://goreportcard.com/badge/github.com/go-session/mysql
9094[ godoc-url ] : https://godoc.org/github.com/go-session/mysql
Original file line number Diff line number Diff line change 99)
1010
1111const (
12- dsn = "root:123456 @tcp(127.0.0.1:3306)/myapp_test?charset=utf8"
12+ dsn = "root:@tcp(127.0.0.1:3306)/myapp_test?charset=utf8"
1313)
1414
1515func TestStore (t * testing.T ) {
You can’t perform that action at this time.
0 commit comments