Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failing Travis-CI builds #53

Closed
wilx opened this issue Oct 1, 2014 · 7 comments
Closed

failing Travis-CI builds #53

wilx opened this issue Oct 1, 2014 · 7 comments

Comments

@wilx
Copy link

wilx commented Oct 1, 2014

I have read your twee and took a look and seen that https://travis-ci.org/ericniebler/range-v3 shows the build failing on a static_assert.

@ericniebler
Copy link
Owner

I've removed the link to the travis build from the readme. The travis support has fallen into disrepair. I run all tests locally on gcc 4.9 and clang-trunk with libstdc++ before I commit, so I'm reasonably certain the code works.

Gonzalo, if you're reading this, perhaps you'd be willing to give Travis another go?

@gnzlbg
Copy link
Contributor

gnzlbg commented Oct 1, 2014

@ericniebler thanks for removing the link, i'll try to get libc++ running again on the Travis-VMs ASAP.

@ericniebler
Copy link
Owner

BTW, the static_assert is failing on clang-3.4, but not clang-3.5. I'm not sure if travis has clang-3.5. That's the version I test on.

@ericniebler
Copy link
Owner

Update: I fixed the static_assert issue and worked around a few issues that were giving clang 3.4 fits. Tests pass locally with clang 3.4 for me, but strangely not on Travis. Go figure.

@gnzlbg
Copy link
Contributor

gnzlbg commented Oct 2, 2014

@ericniebler it seems that libc++ is working fine under travis again (without me changing anything). The clang 3.4 used in travis (I guess 3.4.0) can't handle some stuff in some testcases. I'm trying to find exactly what it cannot handle.

UPDATE: It only fails in debug mode :/

@ericniebler
Copy link
Owner

If I had to guess, I'd say the problem is that the tests that are failing to build (the set_* algorithm tests) are causing memory usage to spike, and the VM is just too limited. Compiler runs out of memory and . I can see about writing these tests in a more efficient way.

@ericniebler
Copy link
Owner

Managed to get a Travis build to pass. It's clear I need to redesign the make_testable test component though, since it's causing an explosion in the number of template instantiations.

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

No branches or pull requests

3 participants