Yep.  Essentially, you'll need to enable the "osx" build environment
<http://docs.travis-ci.com/user/osx-ci-environment/>.  It looks like Travis
is not accepting <http://docs.travis-ci.com/user/multi-os/> more multi-os
requests at the moment, so the typical approach, (used on, for instance,
the main julia repository
<https://github.com/JuliaLang/julia/blob/master/.travis.yml#L2-L4>) won't
work.

You may not be able to get it to run on multiple OS'es, but you should be
able to get it to run on OSX only by setting the language to
"objective-c".  This will get it to run on OSX only, then you can use
the default
.travis.yml file
<https://github.com/JuliaLang/julia/blob/tk/default-travis-multi-os/base/pkg/generate.jl#L139-L155>
that is generated by Pkg.

In short, you should be able to take that default file, change the language
to "objective-c", remove the "os" block, and call it good.  Save that as
".travis.yml" in your repo, enable Travis in your repository's "services"
section, and test away!
-E

On Mon, Nov 10, 2014 at 7:50 AM, Simon Byrne <[email protected]> wrote:

> I would like to set up travis for an OS X-only package: does anyone have
> suggestions for how I should set up travis (or has anyone already done
> this)?
>
> simon
>

Reply via email to