From 0ac58bf9320fb88bccdbd50e962c4c21d0389703 Mon Sep 17 00:00:00 2001 From: Kenneth Shaw Date: Thu, 9 Feb 2017 22:19:20 +0700 Subject: [PATCH] Another fix for travis --- .travis.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 34811ff..99f45ef 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,11 +2,14 @@ language: go go: - 1.7 - tip +env: + - CHROMEDP_NO_SANDBOX=true + - PATH=$PATH:$HOME/hs before_install: - 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 + - tar -jxvf $HOME/hs/hs.tar.bz2 -C $HOME/hs - go get github.com/mattn/goveralls script: - - CHROMEDP_NO_SANDBOX=true PATH=$PATH:/hs go test -v -coverprofile=coverage.out + - go test -v -coverprofile=coverage.out - goveralls -service=travis-ci -coverprofile=coverage.out