Skip to content

Commit

Permalink
Update travis and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
linxGnu committed Mar 25, 2019
1 parent 275f101 commit 9187d8d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 17 deletions.
33 changes: 17 additions & 16 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,31 @@ sudo: required
language: go

go:
- 1.8
- 1.9
- "1.10"
- "1.9"
- "1.10"
- "1.11"
- "1.12"

services:
- mysql
- mysql

addons:
postgresql: "9.6"

env:
global:
- MSSQLX_MYSQL_DSN="test:test@tcp(localhost:3306)/test"
- MSSQLX_POSTGRES_DSN="user=test password=test dbname=test sslmode=disable"
- MSSQLX_MYSQL_DSN="test:test@tcp(localhost:3306)/test"
- MSSQLX_POSTGRES_DSN="user=test password=test dbname=test sslmode=disable"

before_script:
- mysql -e "CREATE DATABASE test;"
- mysql -u root -e "GRANT ALL ON test.* TO test@localhost IDENTIFIED BY 'test'"
- psql -c "CREATE DATABASE test;" -U postgres
- psql -c "CREATE USER "test" WITH SUPERUSER PASSWORD 'test';" -U postgres
- go get github.com/lib/pq
- go get github.com/mattn/go-sqlite3
- go get github.com/go-sql-driver/mysql
- go get github.com/jmoiron/sqlx
- go get github.com/mattn/goveralls
- mysql -e "CREATE DATABASE test;"
- mysql -u root -e "GRANT ALL ON test.* TO test@localhost IDENTIFIED BY 'test'"
- psql -c "CREATE DATABASE test;" -U postgres
- psql -c "CREATE USER "test" WITH SUPERUSER PASSWORD 'test';" -U postgres
- go get github.com/lib/pq
- go get github.com/mattn/go-sqlite3
- go get github.com/go-sql-driver/mysql
- go get github.com/jmoiron/sqlx
- go get github.com/mattn/goveralls

script: go test -v ./... && $HOME/gopath/bin/goveralls -service=travis-ci
script: go test -v ./... && $HOME/gopath/bin/goveralls -service=travis-ci
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[![godoc](https://img.shields.io/badge/docs-GoDoc-green.svg)](https://godoc.org/github.com/linxGnu/mssqlx)
[![license](http://img.shields.io/badge/license-MIT-red.svg?style=flat)](https://raw.githubusercontent.com/jmoiron/sqlx/master/LICENSE)

Embeddable, high availability, performance and lightweight database client library. Support go 1.8 or newer.
Embeddable, high availability, performance and lightweight database client library. Support go 1.9 or newer.

Features and concepts are:

Expand Down

0 comments on commit 9187d8d

Please sign in to comment.