Skip to content

Update cmake to version 3.1 on travis before building#975

Merged
aashish24 merged 4 commits intomasterfrom
travis-cmake
Jan 21, 2015
Merged

Update cmake to version 3.1 on travis before building#975
aashish24 merged 4 commits intomasterfrom
travis-cmake

Conversation

@jbeezley
Copy link
Copy Markdown
Contributor

Should fix the cmake_minimum_required errors.

@doutriaux1
Copy link
Copy Markdown
Contributor

@jbeezley the mac build still fails, probably because you're only looking for "linux" could you please also add th bits for Mac? Or is Mac failing for some othe reason?

@jbeezley
Copy link
Copy Markdown
Contributor Author

I'm not familiar with the build environment for mac, but I could do the same if the cmake is too old. I believe the mac test failure is unrelated to this though.

@doutriaux1
Copy link
Copy Markdown
Contributor

If think mac is even more sensitive to CMake version than Linux so it might be worth doing it always no matter which OS (maybe test for Travis' CMake version first though)

@jbeezley
Copy link
Copy Markdown
Contributor Author

It looks like the osx build uses homebrew cmake at version 3.0.2. I added a line to upgrade to 3.1 via homebrew.

Comment thread .travis.yml Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should then get rid of cmake install here

Comment thread .travis.yml
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure what this line would do? It won't console output I think.. (could be wrong though)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, you can see it in the travis output.

@aashish24
Copy link
Copy Markdown
Contributor

Other than that.. LGTM. Merging.

aashish24 added a commit that referenced this pull request Jan 21, 2015
Update cmake to version 3.1 on travis before building
@aashish24 aashish24 merged commit 1b1df0f into master Jan 21, 2015
@aashish24 aashish24 deleted the travis-cmake branch January 21, 2015 15:14
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.

3 participants