From 9187d8d4713b2e9d76be335d0f264369b9db4712 Mon Sep 17 00:00:00 2001 From: "linh.tran" Date: Mon, 25 Mar 2019 19:18:45 +0900 Subject: [PATCH] Update travis and readme --- .travis.yml | 33 +++++++++++++++++---------------- README.md | 2 +- 2 files changed, 18 insertions(+), 17 deletions(-) diff --git a/.travis.yml b/.travis.yml index e130231..78e3c5a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 \ No newline at end of file +script: go test -v ./... && $HOME/gopath/bin/goveralls -service=travis-ci diff --git a/README.md b/README.md index 205d9e7..ed17230 100644 --- a/README.md +++ b/README.md @@ -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: