Skip to content

Conversation

@hbowden
Copy link
Contributor

@hbowden hbowden commented Sep 4, 2016

This patch should add osx to the travis ci build. However I ran into a bug with the default ruby on travis ci for osx. When travis ci runs rake ci ruby crashes, but when I run rake ci locally with the same version of ruby and osx it doesn't crash. I'm going to open a issue with travis ci to try and fix that. As a workaround this patch downloads ruby 2.1 using rvm, this ruby does not crash but it adds 6 Minutes to the build.

Add check for linux and move initial CFLAG settings inside linux check. Add
CFLAGS specific to osx and clang to the existing osx/darwin check. Ignore clang warning about default on covered enum switch, look at pull #217 and pull #177 for more info about why that warning is ignored on clang. Ignore unknown clang options so that I don't have to change CFLAG settings elsewhere in the file, clang should just ignore options it dosen't know about.
Switch to C language so we can specify operating systems. We have to install ruby 2.1 via rvm because the ruby interpreter on travis ci crashes when running rake ci, however that same version of ruby works fine on my local machine. This work around adds about 6 Minutes to the build and should be replaced as soon as possible to speed up builds.
Merge build branch.
@mvandervoord mvandervoord merged commit 693169e into ThrowTheSwitch:master Sep 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants