-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
24 lines (24 loc) · 1.4 KB
/
.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
sudo: required
language: go
go:
- tip
before_install:
- echo "Before install scripts"
# needed for Day05 regex
- sudo apt-get -qq update
- sudo apt-get install -y libpcre++-dev
# needed for Coverall
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cmd/cover
- go get github.com/go-playground/overalls
before_script:
- echo "Listing the $HOME/gopath/bin folder:"
- echo $(ls -al $HOME/gopath/bin)
- TRUNCATED_PROJECT_PATH=${TRAVIS_BUILD_DIR:${#GOPATH}+5}
- echo $TRUNCATED_PROJECT_PATH
script:
- overalls -project=$TRUNCATED_PROJECT_PATH -covermode=count -debug
- $HOME/gopath/bin/goveralls -coverprofile=overalls.coverprofile -service=travis-ci
env:
global:
secure: XqkCQTny61xqYwx0WI8devDyhMOviaZoAO16Kczf0BV+WDz3vMNJ7UAUkdJZd+CMlaxZFIy/ENxjZ+n7lE1A65ZLGLEQTIqHF52UyixDAv5gj4QHq/edoomNZk62iBqXnHUwfueuAHVkpwHda94LBy9QqlRAWPIUSHuQntoAaujC1cRQn6NyWG+vtePUuxMiiv0r7QbM1Vr8F11+5AYCgj57j+tk1kayxQ00oryjdGkVxYFeRtVo7dvq70yscWBC0YjlIdBgPov6iX7IUc0osLzen0n65mJDvQJ++Gu4uYqVk8IAbutA8SUUNktlDCBNgYheifFitCwwtgpOYE+o4po8n08wLPZwkacUgwn/q5xNu8/YKyPT627uDH1m5uHaeph0Z6agPIBXl71Pcqr88UuGNM+/b+q3X2zhX0vQpxU4XBDW1tbEe08GZDlBjm84vMjd9Izo7AUM2Yo0B1CaUdmHZIJ0aj7mqG1hNyo2GAmcsfwDe50hHnouJptXLP2oCuxd0K7r43GYwPP4qj3WGXLqUVTsD4dYNK1xfsaVdEDg7n9TFhV5XvREFjAt0QeBVsbleDB7YQa1mKSC//qQcjmS910wJgMxQGzjVAzz+end6lds4D58CUTpJaFGm5PTViSkTHIhSr6k7r3j1QWwYmbVhSeBpG60FQ1YON+fYAU=