148e24a615
1. Changes travis configuration to use the chrome addon 2. Adds more command line options to runner package 3. Removes grab-headless_shell.sh script 4. Cleans up and adds some environment variables for controlling how unit tests are ran 5. Fixes a minor issue in chromedp-gen on comment output (for working with latest protocol definition)
21 lines
438 B
YAML
21 lines
438 B
YAML
language: go
|
|
go:
|
|
- 1.8
|
|
- 1.9
|
|
- tip
|
|
addons:
|
|
apt:
|
|
chrome: stable
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
packages:
|
|
- libstdc++6
|
|
before_install:
|
|
- go get github.com/mattn/goveralls
|
|
script:
|
|
- export PATH=$PATH:$HOME/hs
|
|
- export CHROMEDP_TEST_RUNNER=google-chrome-stable
|
|
- export CHROMEDP_DISABLE_GPU=true
|
|
- go test -v -coverprofile=coverage.out
|
|
- goveralls -service=travis-ci -coverprofile=coverage.out
|