forked from kafka4beam/kafka_protocol
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
40 lines (34 loc) · 952 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
39
40
language: erlang
sudo: required
services:
- docker
# install latest rebar3 because the one travis provids doesn't support cover_export_name option
before_install:
- |
git clone https://github.com/erlang/rebar3.git
pushd .
cd rebar3
./bootstrap
sudo mv rebar3 /usr/local/bin/
popd
- sudo docker info
notifications:
email: false
otp_release:
- "23.0.2"
- "22.3.4"
script:
- make
- make xref
- make edoc
- |
OTP_VSN=`erl -noshell -eval 'io:format(erlang:system_info(otp_release)), halt(0)'`
if [ $OTP_VSN -eq 21 ]; then
make dialyze
fi
- export KAFKA_VERSION=2.4 && make test-env && make eunit
- export KAFKA_VERSION=1.1 && make test-env && make eunit
- export KAFKA_VERSION=0.11 && make test-env && make eunit
- export KAFKA_VERSION=0.10 && make test-env && make eunit
- export KAFKA_VERSION=0.9 && make test-env && export KPRO_TEST_KAFKA_09=1 && make eunit
- make cover