+1 to what Elliot said.
If you have binary dependencies you may also need to add a call to
Pkg.build("<pkgname>") in there, since Pkg.clone doesn't trigger bindeps.
And I personally like adding a versioninfo() so I can cross-reference the
Julia sha in the build logs.
On Monday, August 25, 2014 2:05:29 PM UTC-7, Elliot Saba wrote:
>
> I think the simplest and easiest way of doing this is to init(), clone(),
> and test():
>
> julia -e 'Pkg.init(); Pkg.clone(pwd()); Pkg.test("<pkgname>")'
>
> If you want to include code coverage and whatnot, you'll need to put your
> Pkg.test() call on a separate line and pass --code-coverage to the julia
> executable.
> -E
>