Fixing travis again

This commit is contained in:
Kenneth Shaw 2017-02-09 22:27:15 +07:00
parent 0de0bce751
commit ee58f3a0e0

View File

@ -2,14 +2,13 @@ language: go
go: go:
- 1.7 - 1.7
- tip - tip
install: 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: script:
- export CHROMEDP_NO_SANDBOX=true - export CHROMEDP_NO_SANDBOX=true
- export PATH=$PATH:$HOME/hs - export PATH=$PATH:$HOME/hs
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