Little update: you can now replace that big if [ `uname` = Linux ] mess in 
the before_install section with the following:

before_install:
  - curl http://julialang.org/install-julia.sh | sh -s $JULIAVERSION

and it'll work whether or not you've turned on multi-OS support, grabbing 
the right binary for whatever platform the build worker is using. The 
script doesn't include the git fetch --unshallow step, so you'll still need 
that. Any non-Julia binary packages that your package needs to have 
preinstalled (if BinDeps doesn't take care of them) will still need to be 
handled in a platform-dependent manner, so apt-get on the Ubuntu workers 
and homebrew or similar on OSX.


On Saturday, October 11, 2014 4:49:24 AM UTC-7, Tony Kelman wrote:
>
> You're very welcome Jeff. More testing of more packages on more platforms 
> is a good thing. Keep an eye on (and share your opinion in) 
> https://github.com/JuliaLang/julia/issues/7364 for how to possibly 
> simplify the installation code. Might put up a single script with all the 
> OS logic so you could do something like `curl 
> http://julialang.org/install-julia.sh | sh -s $JULIAVERSION`.
>
> I know Travis would like to eventually support Windows as well (
> https://github.com/travis-ci/travis-ci/issues/2104), but that may still 
> be a long way off. The best solution for package testing right now is 
> www.appveyor.com. You'll need a separate appveyor.yml file that looks 
> something like this 
> https://github.com/tkelman/Cairo.jl/blob/tk/appveyor/appveyor.yml, it 
> needs to be slightly changed for different package names due to the folder 
> names that AppVeyor clones into.
>
>
> On Friday, October 10, 2014 9:21:46 PM UTC-7, Jeff Waller wrote:
>>
>> Wow, this is exactly what I need. As I just got Travis functional last 
>> night for the first time @ 3 (you should see the crazy binding.gyp file), I 
>> feel the universe is reaching out to me.  Thanks, Tony, thanks, universe.
>>
>

Reply via email to