Fixing travis.yml
This commit is contained in:
parent
0ac58bf932
commit
0de0bce751
|
@ -2,14 +2,14 @@ language: go
|
||||||
go:
|
go:
|
||||||
- 1.7
|
- 1.7
|
||||||
- tip
|
- tip
|
||||||
env:
|
install:
|
||||||
- CHROMEDP_NO_SANDBOX=true
|
|
||||||
- PATH=$PATH:$HOME/hs
|
|
||||||
before_install:
|
|
||||||
- mkdir -p $HOME/hs
|
- mkdir -p $HOME/hs
|
||||||
- wget -O $HOME/hs/hs.tar.bz2 https://storage.googleapis.com/docker-chrome-headless/headless_shell.tar.bz2
|
- 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
|
- tar -jxvf $HOME/hs/hs.tar.bz2 -C $HOME/hs
|
||||||
- go get github.com/mattn/goveralls
|
- go get github.com/mattn/goveralls
|
||||||
|
before_script:
|
||||||
|
- export CHROMEDP_NO_SANDBOX=true
|
||||||
|
- export PATH=$PATH:$HOME/hs
|
||||||
script:
|
script:
|
||||||
- go test -v -coverprofile=coverage.out
|
- go test -v -coverprofile=coverage.out
|
||||||
- goveralls -service=travis-ci -coverprofile=coverage.out
|
- goveralls -service=travis-ci -coverprofile=coverage.out
|
||||||
|
|
Loading…
Reference in New Issue
Block a user