forked from christiangalsterer/httpbeat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
30 lines (23 loc) · 790 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
language: go
go:
- 1.5.1
sudo: false
before_install:
# Redo the travis setup but with the christiangalsterer/httpbeat path. This is needed so the package path is correct
- mkdir -p $HOME/gopath/src/github.com/christiangalsterer/httpbeat
- rsync -az ${TRAVIS_BUILD_DIR}/ $HOME/gopath/src/github.com/christiangalsterer/httpbeat/
- export TRAVIS_BUILD_DIR=$HOME/gopath/src/github.com/christiangalsterer/httpbeat
- cd $HOME/gopath/src/github.com/christiangalsterer/httpbeat
- go get github.com/stretchr/testify/...
install:
- make
script:
- make cover
notifications:
hipchat:
rooms:
secure:
after_success:
# Copy profile.cov to coverage.txt because codecov.io requires this file
- cp profile.cov coverage.txt
- bash <(curl -s https://codecov.io/bash)