chromedp/.travis.yml
2017-02-09 22:27:15 +07:00

15 lines
441 B
YAML

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