Yet another attempt to fix travis.yml

This commit is contained in:
Kenneth Shaw 2017-02-09 22:09:01 +07:00
parent 3931d42ab5
commit cd3e2c613c

View File

@ -3,10 +3,10 @@ go:
- 1.7 - 1.7
- tip - tip
before_install: before_install:
- mkdir -p $HOME/headless_shell - mkdir -p $HOME/hs
- wget -O $HOME/headless_shell/headless_shell.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 -jxf $HOME/headless_shell/headless_shell.tar.bz2 -C $HOME/headless_shell - tar -jxf $HOME/hs/hs.tar.bz2 -C $HOME/hs
- go get github.com/mattn/goveralls - go get github.com/mattn/goveralls
script: script:
- CHROMEDP_NO_SANDBOX=true go test -v -coverprofile=coverage.out - CHROMEDP_NO_SANDBOX=true PATH=$PATH:/hs go test -v -coverprofile=coverage.out
- goveralls -service=travis-ci -coverprofile=coverage.out - goveralls -service=travis-ci -coverprofile=coverage.out