chromedp/.travis.yml

13 lines
413 B
YAML
Raw Normal View History

2017-02-09 15:01:40 +00:00
language: go
go:
- 1.7
- tip
before_install:
2017-02-09 15:09:01 +00:00
- mkdir -p $HOME/hs
- wget -O $HOME/hs/hs.tar.bz2 https://storage.googleapis.com/docker-chrome-headless/headless_shell.tar.bz2
- tar -jxf $HOME/hs/hs.tar.bz2 -C $HOME/hs
2017-02-09 15:01:40 +00:00
- go get github.com/mattn/goveralls
script:
2017-02-09 15:09:01 +00:00
- CHROMEDP_NO_SANDBOX=true PATH=$PATH:/hs go test -v -coverprofile=coverage.out
2017-02-09 15:01:40 +00:00
- goveralls -service=travis-ci -coverprofile=coverage.out