Initial vgo support

This commit is contained in:
Kenneth Shaw 2018-05-26 14:05:58 +07:00
parent e57a331e5c
commit 68c34da207
2 changed files with 12 additions and 3 deletions

View File

@ -1,15 +1,14 @@
language: go language: go
go: go:
- 1.9.x
- 1.10.x - 1.10.x
- tip - tip
addons: addons:
apt: apt:
chrome: stable chrome: stable
before_install: before_install:
- go get github.com/mattn/goveralls - go get github.com/mattn/goveralls golang.org/x/vgo
script: script:
- export CHROMEDP_TEST_RUNNER=google-chrome-stable - export CHROMEDP_TEST_RUNNER=google-chrome-stable
- export CHROMEDP_DISABLE_GPU=true - export CHROMEDP_DISABLE_GPU=true
- go test -v -coverprofile=coverage.out - vgo test -v -coverprofile=coverage.out
- goveralls -service=travis-ci -coverprofile=coverage.out - goveralls -service=travis-ci -coverprofile=coverage.out

10
go.mod Normal file
View File

@ -0,0 +1,10 @@
module github.com/chromedp/chromedp
require (
github.com/chromedp/cdproto v0.0.0-20180522032958-55db67b53f25
github.com/disintegration/imaging v1.4.2
github.com/gorilla/websocket v1.2.0
github.com/knq/sysutil v0.0.0-20180306023629-0218e141a794
github.com/mailru/easyjson v0.0.0-20180323154445-8b799c424f57
golang.org/x/image v0.0.0-20180403161127-f315e4403028
)