-
-
Notifications
You must be signed in to change notification settings - Fork 60
Travis has an issue with the C build? #218
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
Comments
Here is my test: #!/usr/bin/env bash
files_changed=$(git diff --name-only bpo-1100942)
echo $(git diff --name-only bpo-1100942 | grep -vE '(\.rst$)|(^Doc)|(^Misc)')
has_code=$(git diff --name-only bpo-1100942 | grep -qvE '(\.rst$)|(^Doc)|(^Misc)')
if ! $has_code
then
echo "HasCode: Only docs updated"
else
echo "HasCode: We can update"
fi
if ! echo $files_changed | grep -qvE '(\.rst$)|(^Doc)|(^Misc)'
then
echo "FilesChanged: Only docs updated"
else
echo "FilesChanged: We can update"
fi and the output:
When I execute the code of Travis, I have the result, |
@brettcannon I have changed the condition with a flat condition, without any variable and the worker of Travis runs the tests Here is my PR for review https://github.com/python/cpython/pull/5580/files my 2cents... |
python/cpython@b2ec361 (see #14 (comment) for details) might be the culprit. @ammaraskar do you have some time to investigate this? |
Oh this is most likely just a quoting issue around the variable, trying changing the line to:
instead of
|
I have created this issue https://bugs.python.org/issue32802 and the associated PR python/cpython#5589 . This PR can be back ported to 3.6 & 3.7 |
Thanks @matrixise! Good catch and thanks for fixing. I wonder if other open PRs should be rebased to include the change in python/cpython#5589? |
A rebase won't be required, travis pulls in latest changes and applies the changes to the latest codebase (which should include the new travis.yml). A rebuild should do. Someone who has administrator access over the python travis should be able to trigger a rebuild. From a quick look it would be every RP after this one: python/cpython#5449. Another view on travis that should help is this: https://travis-ci.org/python/cpython/pull_requests Of course PRs that change only documentation don't need a rebuild, it should also be easy to see if the full build went through by the time taken. |
can this issue be closed? |
I think we close this now. Thank you everyone! |
Hi all,
Today I have worked on this issue https://bugs.python.org/issue1100942 and I was waiting for the build of my PR (python/cpython#5578) and I was really surprised to see 57sec for a test.
I have modified one .c file, three .py files and it has only detected the change in the documentation.
Here is the job on Travis, I am really surprised.
https://travis-ci.org/python/cpython/jobs/338426030
Is there an explanation?
@brettcannon ?
The text was updated successfully, but these errors were encountered: