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