-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Mustafa Paltun
committed
Sep 17, 2019
1 parent
ff2566b
commit 9c598d4
Showing
1 changed file
with
19 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,24 @@ | ||
language: erlang | ||
|
||
before_install: | ||
- curl https://sh.rustup.rs -sSf | sh -s -- -y | ||
matrix: | ||
include: | ||
- os: linux | ||
dist: xenial | ||
otp_release: 21.3 | ||
- os: linux | ||
dist: xenial | ||
otp_release: 22.0 | ||
- os: osx | ||
language: generic | ||
|
||
before_script: | ||
- curl https://sh.rustup.rs -sSf | sh -s -- -y | ||
- 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 update; fi | ||
- if [[ $TRAVIS_OS_NAME == osx ]]; then brew install erlang || true; fi | ||
- curl https://s3.amazonaws.com/rebar3/rebar3 --output rebar3 && chmod +x rebar3 | ||
|
||
script: | ||
- source $HOME/.cargo/env | ||
- rebar3 eunit | ||
|
||
otp_release: | ||
- 21.3 | ||
- 22.0 | ||
|
||
os: | ||
- linux | ||
- osx | ||
- ./rebar3 eunit |