From cd3e2c613cbed925f22b4bbd7c08b804a4b51e5d Mon Sep 17 00:00:00 2001 From: Kenneth Shaw Date: Thu, 9 Feb 2017 22:09:01 +0700 Subject: [PATCH] Yet another attempt to fix travis.yml --- .travis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index b4731e2..34811ff 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,10 +3,10 @@ go: - 1.7 - tip before_install: - - mkdir -p $HOME/headless_shell - - wget -O $HOME/headless_shell/headless_shell.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 + - mkdir -p $HOME/hs + - wget -O $HOME/hs/hs.tar.bz2 https://storage.googleapis.com/docker-chrome-headless/headless_shell.tar.bz2 + - tar -jxf $HOME/hs/hs.tar.bz2 -C $HOME/hs - go get github.com/mattn/goveralls 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