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 CI compiler errors not detected #3730
Comments
Weird! I can't see that we've changed anything to make this stop working... ? |
There is an endless debate about Travis status code handling and fast failing of scripts, e.g. in this thread about set -e in .travis.yml. At lot of those problems are a result of Travis composing a single bash script out of everything in .travis.yml plus their own setup. In my experiance the only thing that works reliably is calling a main travis bash script as the only step in Nice to have: custom output folding can be done using custom fold_start/fold_end functions (which requires exposing some Travis internals) in the custom shell script (like this). |
Alright let's try that. Please review PR #3755 and let me know what I did wrong because I'm sure there will be something. |
For the fast failing issue also see travis-ci/travis-ci#1066 |
I propose we just drop this issue as this is not a major concern and nobody seems to work on it? |
Resurrected |
- Stop using inline shell scripts for before_script and script sections. Prior to this change Travis could ignore errors from commands in inline scripts. I don't understand how or why it happens. This is a workaround. Assisted-by: Simon Warta Ref: travis-ci/travis-ci#1066 Fixes curl#3730 Closes curl#3755
- Stop using inline shell scripts for before_script and script sections. Prior to this change Travis could ignore errors from commands in inline scripts. I don't understand how or why it happens. This is a workaround. Assisted-by: Simon Warta Ref: travis-ci/travis-ci#1066 Fixes curl#3730 Closes curl#3755
I did this
https://travis-ci.org/curl/curl/jobs/515938887#L6033
#10260.5 passed
I expected the following
#10260.5 errored
The text was updated successfully, but these errors were encountered: