-
Notifications
You must be signed in to change notification settings - Fork 2k
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
travis.yml: use the same image as Murdock. #10251
Conversation
You sure? That PR introduces |
That PR updates the version of lesscpy, this one switches to an image without lesscpy. Anyways, the problems of the current Travis config go beyond lesscpy. |
Sure, I just wasn't sure if you accidentally referenced that PR because as I said: I don't see any connection to #10237. |
I'll update the text to make it clearer. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with going this direction but was also helping writing the PR so not sure I should being the one approving.
I did some inline remarks for the file.
So I let more others approve or decline this first.
|
See my remark in #10251 (comment) |
Is it now ok to review or do you still want to change things ? |
@aabadie can you have a look at this as you are maintaining the travis build ? |
In case of failure in Travis, the command would become "The command "docker run -a STDIN -a STDOUT -a STDERR --rm -u "$(id -u)" -v "${PWD}:/data/riotbuild" -v /etc/localtime:/etc/localtime:ro riot/riotbuild make static-test" exited with 2." which is not super nice. But this is minor I think and I'm ok with the changes. I still think switching to CircleCI (with #8729) would make things simpler, with, as a bonus, the possibility to access build artefacts (the generated documentation) from the build job webpage. |
We still get the real error message before, it is always the first error that should be looked:
It however shows that having a
It is still a different change, where only the second proposed argument is still valid, and even for the second argument saving output could also be done by murdock, something I plan to actively push after #10038 |
If you want to go this way, most of the time is spent by circleci by copying the generate documentation to the storage location. Otherwise, the build in itself is only 1m30s. Copying the artifacts takes time because of all the small files the doxygen documentation contains. Having the documentation generated by Murdock will require extra disk space for storing the generated documentation on a per PR basis with the related infrastructure maintenance. Something not required with CircleCI. |
Why not? Because we'd use public CircleCI servers? |
because RIOT is an open-source project. You have to be logged in CircleCI to access the project artifacts (I use my GitHub account there). From their documentation, it's rather unclear what is the limitation is size or time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nothing special that needs to be changed in this PR. The static tests are passing, except the pr_check, because the git history needs squashing.
ACK, please squash @jcarrano !
c0cbaa0
to
8808096
Compare
It does not make sense to do the static tests in a diferent image than the compilation tests. This commit updates the travis config to use the riotbuild image (the same as murdock). This should fix the issues with old doxygen versions reporting issues that are not, and also simplify the CI maintainance.
And go. I don't expect Codacy to report anything of interest for this PR. |
Contribution description
It does not make sense to do the static tests in a diferent image than the compilation tests.
This commit updates the travis config to use the riotbuild image (the same as murdock). This should fix the issues with old doxygen versions reporting issues that are not, and also simplifies the CI maintenance.
Testing procedure
The only way to test it is to trigger Travis . Use #9819 (it is rebased on top of this).
Issues/PRs references
After #9819 everything will start failing the tests because the version of Doxygen in Trusty is from the stone age.
This PR would make #10237 no longer applicable.