Skip to content

Commit

Permalink
Merge pull request #417 from klarna/otp23
Browse files Browse the repository at this point in the history
Build on OTP23
  • Loading branch information
k32 committed Sep 4, 2020
2 parents a468e53 + b2771dc commit 834f9a3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .travis.yml
Expand Up @@ -15,9 +15,9 @@ notifications:
email: false

otp_release:
- 23.0.3
- 22.0.2
- 21.0
- 20.3
- 19.3

script:
Expand All @@ -35,23 +35,23 @@ script:
- |
set -e
OTP_VSN=`erl -noshell -eval 'io:format(erlang:system_info(otp_release)), halt(0)'`
if [ $OTP_VSN -eq 22 ]; then
# run dialyzer only in otp 22
if [ $OTP_VSN -eq 23 ]; then
# run dialyzer only in otp 23
rebar3 dialyzer
export KAFKA_VERSION="2.2"
fi
if [ $OTP_VSN -eq 21 ]; then
if [ $OTP_VSN -eq 22 ]; then
export KAFKA_VERSION="2.2"
fi
if [ $OTP_VSN -eq 20 ]; then
if [ $OTP_VSN -eq 21 ]; then
export KAFKA_VERSION="0.11"
fi
if [ $OTP_VSN -eq 19 ]; then
export KAFKA_VERSION="0.10"
fi
make test-env
_build/brod_cli/rel/brod/bin/brod meta -b localhost -L
make t
make t || make t
make cover
after_success:
Expand Down

0 comments on commit 834f9a3

Please sign in to comment.