-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
44 lines (32 loc) · 953 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
42
43
44
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 == osx ]]; then brew install --force-bottle erlang || true; fi
- if [[ $TRAVIS_OS_NAME == osx ]]; then brew install openssl || true; fi
- curl https://s3.amazonaws.com/rebar3/rebar3 --output rebar3 && chmod +x rebar3
script:
- ./rebar3 compile
after_success:
- ./rebar3 ct