language: go

go:
    - tip
    - 1.5
    - 1.4
    - 1.3
    - 1.2

install:
    - go get golang.org/x/crypto/bcrypt
    - go get github.com/gorilla/mux
    - go get github.com/gorilla/sessions
    - go get github.com/go-sql-driver/mysql
    - go get gopkg.in/mgo.v2
    - go get github.com/lib/pq
    - go get github.com/mattn/go-sqlite3
    - go get github.com/syndtr/goleveldb/leveldb

before_script:
    - mysql -e 'create database httpauth_test;'
    - psql -c 'create database httpauth_test;' -U postgres

services:
    - mongodb

before_install:
    - go get github.com/axw/gocov/gocov
    - go get github.com/mattn/goveralls
    - go get golang.org/x/tools/cmd/cover

script:
    - $HOME/gopath/bin/goveralls -repotoken HQ2GKw3BZ02GdvxTWqMKVZ68iKBdE5OLR

sudo: false

language: go

go:
    - tip
    - 1.5
    - 1.4
    - 1.3

install:
    - go get golang.org/x/crypto/bcrypt
    - go get github.com/gorilla/mux
    - go get github.com/gorilla/sessions
    - go get github.com/go-sql-driver/mysql
    - go get gopkg.in/mgo.v2
    - go get github.com/lib/pq
    - go get github.com/mattn/go-sqlite3
    - go get github.com/syndtr/goleveldb/leveldb

before_script:
    - mysql -e 'create database httpauth_test;'
    - psql -c 'create database httpauth_test;' -U postgres

services:
    - mongodb

before_install:
    - go get github.com/axw/gocov/gocov
    - go get github.com/mattn/goveralls
    - go get golang.org/x/tools/cmd/cover

script:
    - $HOME/gopath/bin/goveralls -repotoken HQ2GKw3BZ02GdvxTWqMKVZ68iKBdE5OLR

sudo: false

Fix failing issue in Go 1.2
Fix failing issue in Go 1.2

Sqlite3 fails to build with this error in the old Go1.2.  There probably
isn't any reason to support that version any more anyway.

Go type not supported in export: [0]byte
