Skip to content

Turn on Mac OS X testing in Travis.#2138

Closed
dhermes wants to merge 1 commit intogoogleapis:masterfrom
dhermes:turn-on-osx-in-travis
Closed

Turn on Mac OS X testing in Travis.#2138
dhermes wants to merge 1 commit intogoogleapis:masterfrom
dhermes:turn-on-osx-in-travis

Conversation

@dhermes
Copy link
Contributor

@dhermes dhermes commented Aug 18, 2016

NOTE: This feature is still in beta according to
https://docs.travis-ci.com/user/multi-os/

See #2136

NOTE: This feature is still in beta according to
https://docs.travis-ci.com/user/multi-os/
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Aug 18, 2016
@tseaver
Copy link
Contributor

tseaver commented Aug 19, 2016

In my experience with the zope.* packages, the Mac OS/X builds are hideously slow -- they need more hamsters!

@dhermes
Copy link
Contributor Author

dhermes commented Aug 19, 2016

The osx build failed with a failure to untar a directory holding Python. Talk about beta! I restarted it before I could capture the error, hopefully it will improve.

@dhermes
Copy link
Contributor Author

dhermes commented Aug 19, 2016

Failed again

The command "sudo tar xjf python-2.7.tar.bz2 --directory /" failed and exited with 1 during .

screen_shot_003

@dhermes
Copy link
Contributor Author

dhermes commented Aug 19, 2016

@dhermes
Copy link
Contributor Author

dhermes commented Aug 19, 2016

https://github.com/serverdensity/sd-agent/pull/126/files seems to have a working approach

@dhermes
Copy link
Contributor Author

dhermes commented Aug 19, 2016

OK it turns out osx support is so beta we need to tell Travis that the osx env. is not Python but it is language: generic and then we need to manually install a version of Python ourselves.

@tseaver
Copy link
Contributor

tseaver commented Aug 25, 2016

@tseaver
Copy link
Contributor

tseaver commented Aug 26, 2016

@dhermes Given the poor state of the OSX support, I'm inclined to hold off and let the pioneers collect the back-arrows: we've got enough on our plate with Travis.

@dhermes
Copy link
Contributor Author

dhermes commented Aug 26, 2016

I somewhat agree, though it seems like brew install python would work on the pre-installed image. Or we could install via conda

@daspecster
Copy link
Contributor

There's always http://hacbook.com... ;)

@dhermes
Copy link
Contributor Author

dhermes commented Aug 29, 2016

How does that help? That's a physical piece of hardware, not a CI. Maybe I'm misreading the website?

@daspecster
Copy link
Contributor

Well you get OSX for cheap so someone could put one of those in a corner someplace and then just open up the IP. Sorry @dhermes, it was more of a joke than a serious suggestion.

Well partially I guess, if I setup a Jenkins server, I may be able to find an OSX host to set it up on for the private repo. Just trying to brainstorm a little.

@daspecster
Copy link
Contributor

Looks like a lot of the OSX hosted CI has been shutdown? There are some references to services supporting it and now you can't find anything on their sites.

I found...
http://devcenter.bitrise.io/docs/available-stacks

It looks like even CircleCI may only support iOS builds and not give you direct CLI access to an OSX vm.
https://circleci.com/docs/ios-builds-on-os-x/#supported-build-and-test-tools

HostedCI looks like it's been kind of dead. Last blog post was about xcode in 2014 and I don't see any documentation on OSX.
https://hosted-ci.com/blog/

Buildbot.net is a python based build system but we would have to self host :(.
https://github.com/buildbot/buildbot

@tseaver
Copy link
Contributor

tseaver commented Aug 29, 2016

Do we have any reason to expect a homebrew-driven bulid to fail? I mean, if we were trying to test with Apple's b0rken system python, that would be one thing....

@dhermes
Copy link
Contributor Author

dhermes commented Aug 29, 2016

I agree @tseaver

@tseaver
Copy link
Contributor

tseaver commented Sep 6, 2016

We can re-open or rework later if we decide testing on Mac is worth the pain.

@tseaver tseaver closed this Sep 6, 2016
@dhermes dhermes deleted the turn-on-osx-in-travis branch September 6, 2016 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement. testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants