Skip to content

Commit

Permalink
Travis to fetch correct Alpaca release for building Alpaca
Browse files Browse the repository at this point in the history
  • Loading branch information
j14159 committed Jan 3, 2018
1 parent 49da7f9 commit d4859aa
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ env:
global:
- REBAR_VSN=3.4.3
- PATH=./rebar3-$REBAR_VSN:$PATH
- ALPACA_BASE_URL=https://github.com/alpaca-lang/alpaca/releases/download/v0.2.8
- ALPACA_BASE=alpaca_${TRAVIS_OTP_RELEASE}
- ALPACA_PKG=${ALPACA_BASE}.tgz
cache:
directories:
- .rebar3-$REBAR_VSN
Expand All @@ -18,7 +21,11 @@ before_install:
- cd rebar3-$REBAR_VSN
- if [ ! -f ./rebar3 ]; then ./bootstrap; fi
- cd ..
before_script: []
before_script:
- export ALPACA_TO_USE=${ALPACA_BASE_URL}/${ALPACA_PKG}
- wget $ALPACA_TO_USE
- tar xzf $ALPACA_PKG
- export ALPACA_ROOT=`pwd`/$ALPACA_BASE
script:
- rebar3 xref
- rebar3 eunit
Expand Down
2 changes: 1 addition & 1 deletion rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
{rebar_prv_alpaca,
{git,
"https://github.com/alpaca-lang/rebar_prv_alpaca.git",
{tag, "v0.1.0"}}}
{branch, "master"}}}
]}.


Expand Down

0 comments on commit d4859aa

Please sign in to comment.