include libssl-dev for travis-ci.

This commit is contained in:
xeodou 2018-05-23 23:57:00 +08:00
parent 4c57f7b70b
commit ca95aea419
1 changed files with 8 additions and 2 deletions

View File

@ -1,6 +1,12 @@
language: go
sudo: required
dist: trusty
addons:
apt:
packages:
- libssl-dev
env:
- GOTAGS=
- GOTAGS=libsqlite3
@ -12,8 +18,8 @@ go:
- 1.9.x
- master
before_install:
# - go get github.com/mattn/goveralls
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cmd/cover
script:
# - $HOME/gopath/bin/goveralls -repotoken 3qJVUE0iQwqnCbmNcDsjYu1nh4J4KIFXx
- $HOME/gopath/bin/goveralls -repotoken PfqH9iFyzW3daUxflzllSougjTxvFwQZE
- go test -race -v . -tags "$GOTAGS"