Commit 345f3dec authored by gwenn's avatar gwenn

Adds Travis CI.

parent a8febe56
language: go
before_script: go get github.com/gwenn/gosqlite
...@@ -6,6 +6,11 @@ This binding implements the "database/sql/driver" interface. ...@@ -6,6 +6,11 @@ This binding implements the "database/sql/driver" interface.
See [package documentation](http://go.pkgdoc.org/github.com/gwenn/gosqlite). See [package documentation](http://go.pkgdoc.org/github.com/gwenn/gosqlite).
[![Build Status][1]][2]
[1]: https://secure.travis-ci.org/gwenn/gosqlite.png
[2]: http://www.travis-ci.org/gwenn/gosqlite
Open supports flags. Open supports flags.
Conn#Exec handles multiple statements (separated by semicolons) properly. Conn#Exec handles multiple statements (separated by semicolons) properly.
Conn#Prepare can optionnaly #Bind as well. Conn#Prepare can optionnaly #Bind as well.
......
...@@ -455,7 +455,7 @@ func (c *Conn) BeginTransaction(t TransactionType) error { ...@@ -455,7 +455,7 @@ func (c *Conn) BeginTransaction(t TransactionType) error {
return c.exec("BEGIN EXCLUSIVE") return c.exec("BEGIN EXCLUSIVE")
} }
panic(fmt.Sprintf("Unsupported transaction type: '%#v'", t)) panic(fmt.Sprintf("Unsupported transaction type: '%#v'", t))
// return nil // Go 1.1 unreachable code return nil // Go 1.1 unreachable code
} }
// Commit commits transaction // Commit commits transaction
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment