2017-02-09 15:01:40 +00:00
|
|
|
language: go
|
|
|
|
go:
|
|
|
|
- 1.7
|
|
|
|
- tip
|
2017-02-09 15:27:15 +00:00
|
|
|
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
|
2017-02-09 15:19:20 +00:00
|
|
|
- tar -jxvf $HOME/hs/hs.tar.bz2 -C $HOME/hs
|
2017-02-09 15:01:40 +00:00
|
|
|
- go get github.com/mattn/goveralls
|
2017-02-09 15:27:15 +00:00
|
|
|
script:
|
2017-02-09 15:23:23 +00:00
|
|
|
- export CHROMEDP_NO_SANDBOX=true
|
|
|
|
- export PATH=$PATH:$HOME/hs
|
2017-02-18 07:28:43 +00:00
|
|
|
- go test -v -race -coverprofile=coverage.out
|
2017-02-09 15:01:40 +00:00
|
|
|
- goveralls -service=travis-ci -coverprofile=coverage.out
|