forked from johnhamelink/elibphonenumber
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
31 lines (25 loc) · 939 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
language: erlang
matrix:
include:
- os: linux
dist: xenial
otp_release: 21.1
- os: linux
dist: xenial
otp_release: 20.3.8.5
- os: linux
dist: xenial
otp_release: 19.3
- os: osx
language: generic
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 cmake cmake-curses-gui libgtest-dev libre2-dev libicu-dev || true ; fi
- if [[ $TRAVIS_OS_NAME == linux ]]; then sudo apt-get install -y libboost-dev libboost-thread-dev libboost-system-dev || true ; fi
- if [[ $TRAVIS_OS_NAME == linux ]]; then sudo apt-get install -y libprotobuf-dev protobuf-compiler || true ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- if [[ $TRAVIS_OS_NAME == osx ]]; then brew install erlang rebar3 || true; fi
script:
- rebar3 compile
after_success:
- rebar3 eunit