forked from s12v/awsbeats
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (30 loc) · 1.38 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
language: go
go:
- "1.10"
install:
- curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
- dep ensure
script:
- |
if [ -n "$TRAVIS_TAG" ]; then
IFS='|' read -ra arr <<< "${TRAVIS_TAG/-v/|}"
make AWSBEATS_VERSION="${arr[0]}" BEATS_VERSION="v${arr[1]}"
else
make
fi
- |
FB=$(ls target/filebeat* | tail -1)
FH=$(ls target/kinesis* | tail -1)
echo "$FB -plugin $FH -c example/firehose/filebeat.yml --once"
$FB -plugin $FH -c example/firehose/filebeat.yml --once
after_success:
- bash <(curl -s https://codecov.io/bash)
deploy:
provider: releases
api_key:
secure: i1eQugsb1lstR8UNBUqV/OjJhxldDScFLfeZ5eo8Rb40tpJ3lN84kAN/ZJUuNkeKqX9wUJASIqwh1pmiW6u46QYZ6RmU31Lele6SiWXspUxdo6kT6JtaZaX2xLT3lcy9KCtc5pLMvRAJNww2X8MsM+9+ZTLnhc48c1aNDbZgOSUPEDljf2yMnWcMiulPIXQJZ6PIR78nsu+pCzomUibcmEVwAjRcqQSIYIRkMts11+o+8ilBk15J+/2ViAqsc1I0tbm49+TKNM4hmaxU4zok5XKTSF9SBilnj5Jwf4SzN2inmKRVdQndPYTBhMRXfn+R6tBktnrOQdm1nX+RkayFZFp9JnqlUpi19+PtnZGOMomtvgfAxAuXrOFZ6rmQF4LMiKCzQOEXL2NCq7HaFy/QFPDq6KQGhVEwxtz5WJD+6LMZUozgvsLgbVz6WNy1WvEEo7PB8lSnGZqCgzXA5GxsZ+RfF70HXemp0SpAZdNkaf5b/GsDLMuXcgt4DAPYPv8SDLj62FmVkNiOnLj3P2aA/MyrF5VVadPpZQdbXrmbLlf864qU0AG3T9uIIG/Ceqg7l1AiNkC2I513t8EQjCtqKH6JTfmlU/Ax1FulRlKDzHK/vByxupUzmTxDQJnvnp+aJhPkWf1nyQwEjZ+PTnpNPHlatZXi+AawVlNAWt7lSqg=
file_glob: true
file: target/*
skip_cleanup: true
on:
tags: true