forked from SebastiaanKlippert/go-wkhtmltopdf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
19 lines (19 loc) · 796 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
language: go
sudo: required
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -y openssl build-essential xorg libssl-dev xfonts-75dpi; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then wget --quiet "https://downloads.wkhtmltopdf.org/0.12/0.12.5/wkhtmltox_0.12.5-1.trusty_amd64.deb" ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo dpkg -i "wkhtmltox_0.12.5-1.trusty_amd64.deb" ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then rm "wkhtmltox_0.12.5-1.trusty_amd64.deb" ; fi
go:
- tip
- 1.12
- 1.11
script: go test -v -coverprofile=coverage.txt -covermode=atomic -bench .
os:
- linux
addons:
artifacts: true
after_success:
- bash <(curl -s https://codecov.io/bash)