-
Notifications
You must be signed in to change notification settings - Fork 31
/
.travis.yml
41 lines (30 loc) · 965 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
41
language: erlang
matrix:
include:
- os: linux
dist: bionic
otp_release: 24.3.1
- os: linux
dist: focal
otp_release: 25.2.1
- os: linux
dist: jammy
otp_release: 26.1.1
- os: osx
osx_image: xcode13.4
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 g++ make cmake libssl-dev libuv1-dev || true ; fi
- if [[ $TRAVIS_OS_NAME == osx ]]; then brew install erlang libuv cmake openssl || true; fi
- curl https://s3.amazonaws.com/rebar3/rebar3 --output rebar3 && chmod +x rebar3
script:
- ./rebar3 compile