I don't want to steal Pontus Stenetorp's thunder since he did all the work, but there's a PR open here https://github.com/travis-ci/travis-build/pull/318 that will sooner or later add "community maintained" support for Julia directly in Travis as `language: julia`. The default .travis.yml for Julia packages can be simplified even further once that gets rolled out.
That doesn't fix the capacity issues at Travis where they aren't accepting new repos, so for now the `language: objective-c` version, and using the install-julia.sh script, is the best way to temporarily test things out on Mac workers. On Monday, November 10, 2014 12:32:34 PM UTC-8, Elliot Saba wrote: > > 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] > <javascript:>> 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 >> > >
