-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
38 lines (31 loc) · 990 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
31
32
33
34
35
36
37
38
sudo: required
language: go
go:
- "1.15.5"
services:
- docker
cache:
directories:
- tmp-build
- $GOPATH/bin
- $GOPATH/pkg
- $HOME/.cache/go-build
env:
global:
- GO111MODULE=on
- LIBRDKAFKA_VERSION=v1.5.2
- PKG_CONFIG_PATH="$GOPATH/src/github.com/blendle/go-streamprocessor/tmp-build/$LIBRDKAFKA_VERSION/lib/pkgconfig"
- LD_LIBRARY_PATH="$GOPATH/src/github.com/blendle/go-streamprocessor/tmp-build/$LIBRDKAFKA_VERSION/lib"
- DYLD_LIBRARY_PATH="$GOPATH/src/github.com/blendle/go-streamprocessor/tmp-build/$LIBRDKAFKA_VERSION/lib"
- PATH="$PATH:$GOPATH/bin"
- DOCKER_COMPOSE_VERSION=1.24.1
before_install:
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
- script/cisetup
- docker ps
install: script/setup
script: script/test
after_failure: docker-compose logs