forked from silviucpp/erlkaf
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
42 lines (31 loc) · 1.02 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
language: erlang
matrix:
include:
- os: linux
dist: bionic
otp_release: 23.3.1
- os: linux
dist: focal
otp_release: 24.3.1
- os: linux
dist: focal
otp_release: 25.0
- os: osx
osx_image: xcode12.2
language: generic
env:
- HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=true
- HOMEBREW_NO_INSTALL_UPGRADE=true
- HOMEBREW_NO_INSTALL_CLEANUP=true
cache:
directories:
- $HOME/Library/Caches/Homebrew
- /usr/local/Homebrew
before_script:
- if [[ $TRAVIS_OS_NAME == linux ]]; then sudo apt-get -y update || true ; fi
- if [[ $TRAVIS_OS_NAME == linux ]]; then sudo apt-get install -y libsasl2-dev liblz4-dev libzstd-dev || true ; fi
- if [[ $TRAVIS_OS_NAME == osx ]]; then brew install --force-bottle erlang || true; fi
- if [[ $TRAVIS_OS_NAME == osx ]]; then brew install [email protected] lz4 zstd curl || true; fi
- curl https://s3.amazonaws.com/rebar3/rebar3 --output rebar3 && chmod +x rebar3
script:
- ./rebar3 compile