File tree Expand file tree Collapse file tree 2 files changed +34
-1
lines changed Expand file tree Collapse file tree 2 files changed +34
-1
lines changed Original file line number Diff line number Diff line change 1+ language : erlang
2+ install : ' true'
3+ otp_release :
4+ - 20.0
5+ - 19.3
6+ env :
7+ global :
8+ - REBAR_VSN=3.4.3
9+ - PATH=./rebar3-$REBAR_VSN:$PATH
10+ - ALPACA_VERSION_TO_USE=v0.2.8
11+ - ALPACA_BASE_URL=https://github.com/alpaca-lang/alpaca/releases/download/$ALPACA_VERSION_TO_USE
12+ cache :
13+ directories :
14+ - .rebar3-$REBAR_VSN
15+ - /home/travis/.cache/rebar3
16+ before_install :
17+ - if [ ! -f rebar3-$REBAR_VSN/rebar3 ]; then wget --no-check-certificate https://github.com/erlang/rebar3/archive/$REBAR_VSN.tar.gz; fi
18+ - if [ -f $REBAR_VSN.tar.gz ]; then tar xvzf $REBAR_VSN.tar.gz; fi
19+ - cd rebar3-$REBAR_VSN
20+ - if [ ! -f ./rebar3 ]; then ./bootstrap; fi
21+ - cd ..
22+ script :
23+ - export ALPACA_BASE=alpaca_${TRAVIS_OTP_RELEASE}
24+ - export ALPACA_PKG=${ALPACA_BASE}.tgz
25+ - export ALPACA_TO_USE=${ALPACA_BASE_URL}/${ALPACA_PKG}
26+ - wget $ALPACA_TO_USE
27+ - tar xvzf $ALPACA_PKG
28+ - export ALPACA_ROOT=`pwd`/alpaca-${ALPACA_VERSION_TO_USE}_${TRAVIS_OTP_RELEASE}
29+ - echo "ALPACA_ROOT is set to ${ALPACA_ROOT}"
30+ - rebar3 compile
31+ - rebar3 eunit
32+ - rebar3 eunit
Original file line number Diff line number Diff line change 1- # alpaca_lib
1+ # alpaca_lib
2+ [ ![ Build Status] ( https://travis-ci.org/alpaca-lang/alpaca_lib.svg?branch=master )] ( https://travis-ci.org/alpaca-lang/alpaca_lib )
You can’t perform that action at this time.
0 commit comments