File tree 3 files changed +22
-2
lines changed
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 1
1
# MySQL store for [ Session] ( https://github.com/go-session/session )
2
2
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 ]
4
4
5
5
## Quick Start
6
6
@@ -85,6 +85,10 @@ $ ./server
85
85
86
86
Copyright (c) 2018 Lyric
87
87
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
88
92
[ reportcard-url ] : https://goreportcard.com/report/github.com/go-session/mysql
89
93
[ reportcard-image ] : https://goreportcard.com/badge/github.com/go-session/mysql
90
94
[ godoc-url ] : https://godoc.org/github.com/go-session/mysql
Original file line number Diff line number Diff line change 9
9
)
10
10
11
11
const (
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"
13
13
)
14
14
15
15
func TestStore (t * testing.T ) {
You can’t perform that action at this time.
0 commit comments