Fixing travis.yml

This commit is contained in:
Kenneth Shaw 2017-02-09 22:04:07 +07:00
parent 42c6cca7ed
commit 3931d42ab5

View File

@ -3,9 +3,9 @@ go:
- 1.7 - 1.7
- tip - tip
before_install: before_install:
- mkdir -p /headless_shell - mkdir -p $HOME/headless_shell
- wget -O /headless_shell/headless_shell.tar.bz2 https://storage.googleapis.com/docker-chrome-headless/headless_shell.tar.bz2 - wget -O $HOME/headless_shell/headless_shell.tar.bz2 https://storage.googleapis.com/docker-chrome-headless/headless_shell.tar.bz2
- tar -jxf /headless_shell/headless_shell.tar.bz2 -C /headless_shell - tar -jxf $HOME/headless_shell/headless_shell.tar.bz2 -C $HOME/headless_shell
- 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 go test -v -coverprofile=coverage.out