forked from tebeka/selenium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (25 loc) · 832 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
language: go
go:
- 1.12.x
jdk:
# The Java JRE is a requirement for Selenium and HTMLUnit.
- openjdk11
before_script:
# Download all of the binary dependencies needed to run the tests.
- cd vendor && go run init.go --alsologtostderr --download_browsers --download_latest && cd ..
env:
# For 1.12, this environment variable still defaults to auto. This can
# be removed in some future Go release.
- GO111MODULE=on
# Use Go's module support to install dependencies instead of Travis's
# travis_install_go_dependencies.
install: true
script:
# Ensure that the code has been formatted with gofmt.
- ./testing/travis-ci-gofmt.sh
# Run the tests.
- ./testing/travis-ci-test.sh
after_success:
# Upload the code coverage report to Codecov.
- bash <(curl -s https://codecov.io/bash) -- -v
sudo: false