-
Notifications
You must be signed in to change notification settings - Fork 10
/
.travis.yml
46 lines (39 loc) · 1.81 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
sudo: required
dist: trusty
services:
- docker
language: go
addons:
apt:
packages:
- python-virtualenv
env:
matrix:
# already covered by 'testsuite'
#- TARGETS="test"
- TARGETS="check"
- TARGETS="testsuite"
- TARGETS="crosscompile"
- TARGETS="connbeat package"
- TARGETS="docker_peers"
global:
- DOCKER_COMPOSE_VERSION: 1.8.0
before_install:
# Redo the travis setup but with the elastic/libbeat path. This is needed so the package path is correct
- mkdir -p $HOME/gopath/src/github.com/raboof/connbeat/
- rsync -az ${TRAVIS_BUILD_DIR}/ $HOME/gopath/src/github.com/raboof/connbeat/
- export TRAVIS_BUILD_DIR=$HOME/gopath/src/github.com/raboof/connbeat/
- cd $HOME/gopath/src/github.com/raboof/connbeat/
- make update_version
- if [[ "$TARGETS" == "testsuite" ]]; then ./installDocker.sh; go get github.com/elastic/beats/vendor/github.com/pierrre/gotestcover; fi
- if [[ "$TARGETS" == "package" ]]; then ./installDocker.sh; fi
- go get -v github.com/Masterminds/glide
deploy:
provider: bintray
file: descriptor.bintray
user: raboofje
key:
secure: UGUblnbWWS1gvnoY/HhFmOG9rqoE7eb9EiHeTC8dQHoQlfdEDrGOiCWwgzxZHKNEuNLyE1PDZ+YY7xfSdmMt9Vt6/lJDSYIQUkeX9x8uDUx9/UtWt9omChZSW7c/Z5b+cpY9QQEKTJvbg6g4ScEWPeAeCrPXN+m8OgqPB3vDDWebPqq9YJOfFxLVEnF97dduTK+CP7Xo0/4yAvZdLD+BCkHWLnLS/Qr1ka2IgB2p8y6lz7PdjFE5spBTeYv51jzwF3FtOZC7RgfXNbZpRwG+5KL3JpsaKi7odMBUpGDGoPeAQnCVEjGjyvlcXdhxvxmgWnNvVqoxZZ9XcohsI0Lag66VAK4ZmkYgrh7pKx4CEqMpPCbJAoMF/ycMjdNFf0Dp6UtAJJASCZmqb5G922apkrVgCtDo9+3pIcbFzItkOyODajCrThJ0uDwSvu6pHPeWICgexI9ONFB3mqE6WkKpV9c6YY3dgnOy33E8z7xpVRXnS0NE/f9XWtem+m6EYyjzGQa5ZVK+zsBnW1my1gS/yT2ETliVE55Rp0DsSyU/ra6xJnxHoJ110AxysbkOfFRwO7+9A62QRs/P+sXER/vXcq+bkLYoOkaOegyhkYtVQmTubv6b+0y8ZemoCVs6yNWFIKNX0mzRW5u7vN/kkKEhaKgtfJXxOw73OrST387sLzc=
script: make $TARGETS
go:
- 1.7.3