[erlang-questions] Travis-CI - lager_transform undef error

Tim Watson watson.timothy@REDACTED
Wed May 2 08:38:17 CEST 2012


Is it '{lib_dirs, ["deps"]}.' in rebar.config or something similar passed to erl_opts? The issue is that the compiler needs to know where code:lib_dir(lager) resides iirc.



On 1 May 2012, at 19:12, Marc Worrell <marc@REDACTED> wrote:

> Hi,
> 
> I am trying to setup some continuous integration with Travis-CI.org for Zotonic.
> 
> I am running into this error:
> 
> http://travis-ci.org/#!/zotonic/zotonic/jobs/1220673
> erlc -o src/erlydtl src/erlydtl/erlydtl_parser.yrl
> 202Recompile: src/zotonic_sup
> 203src/zotonic_sup.erl:none: error in parse transform 'lager_transform': {undef,
> 204                                             [{lager_transform,
> With the following travis definition:
> 
> language: erlang
> otp_release:
>   - R15B01
>   - R14B04
>   - R14B03
> script: make
> before_install: git submodule update --init --recursive
> env:
>   - DB=postgres
> branches:
>   only:
>     - master
> 
> Does anyone have any idea how to set the correct paths so that the compiler can find the lager_transform in deps/lager?
> 
> - Marc
> 
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120502/5671ae58/attachment.htm>


More information about the erlang-questions mailing list