travis: Enable qt for all jobs#13515
travis: Enable qt for all jobs#13515maflcko merged 1 commit intobitcoin:masterfrom ken2812221:travis_qt
Conversation
.travis.yml
Outdated
There was a problem hiding this comment.
Might as well change "install" to "deploy", so we get the setup.exe as well?
|
Would be nicer if travis natively supported multi-job-multi-stage builds, but yeah, maybe this hack is required. |
Reviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
|
Update: Enable qt for arm |
.travis.yml
Outdated
There was a problem hiding this comment.
hmm. Not sure about that. We'd have to manually reset travis on all pull requests that are affected by this.
There was a problem hiding this comment.
We'd have to manually reset travis on all pull requests that are affected by this.
We can clear the cache of all PRs to solve this just like what we do after migrate tests to docker.
There was a problem hiding this comment.
What I mean is that a early exit should not make travis green. Maybe add an echo "Travis early exit to cache current state" && false somewhere?
There was a problem hiding this comment.
It does not make travis green. If test $SECONDS -lt 1200 has failed, travis would turn out red. But it's a good idea to add error message.
There was a problem hiding this comment.
Ah thanks for the clarification. I missed that.
.travis.yml
Outdated
There was a problem hiding this comment.
This could simply be its own line in the script section.
I really like the rest of the script to be joined into a single block using the | YAML goodness, but putting this check on an individual line (- ...) would spare the ) && ( LOTSOFLINES ) awkwardness.
There was a problem hiding this comment.
As I learned in #13863 – if you split the script like that then the exit codes of the commands in each line will not make the script fail, i.e. if the unit tests fail the build will not fail.
There was a problem hiding this comment.
Thanks, I'll work on this after #13836 merged.
|
It's time to make Mac build work on master again. |
.travis.yml
Outdated
There was a problem hiding this comment.
As I learned in #13863 – if you split the script like that then the exit codes of the commands in each line will not make the script fail, i.e. if the unit tests fail the build will not fail.
.travis.yml
Outdated
There was a problem hiding this comment.
Is this change intentional? I find it very handy to have a NO_WALLET build available. It has happened to me before that I changed something in a way which required the wallet in a place which does not require a wallet overall. This particular travis build caught that.
There was a problem hiding this comment.
Sorry, I just noticed your description does mention that. So it is intentional. My comment still stands though, I find it beneficial to have a no-wallet build available. In a perfect world a build would build all possible combinations of build flags, in this imperfect world it can at least check the no-wallet case.
There was a problem hiding this comment.
Indeed, will undo this.
|
This is ready for review. Thanks for #13863, I don't have to do a lot of line changes. |
|
As this is effectively reverting a33b7c9, could the GOALs be changed to |
|
@MarcoFalke Changed goals to deploy, also revert 3d69853 because of cf01fd6 |
| - set -o errexit; source .travis/test_05_before_script.sh | ||
| script: | ||
| - set -o errexit; source .travis/test_06_script.sh | ||
| - if [ $SECONDS -gt 1200 ]; then set +o errexit; echo "Travis early exit to cache current state"; false; else set -o errexit; source .travis/test_06_script.sh; fi |
There was a problem hiding this comment.
Should this be in the before_script?
There was a problem hiding this comment.
before_script does the depends build, which should be cached, so no?
There was a problem hiding this comment.
I didn't know chache was discared during a premature exit. If so, then this makes sense.
3387bb0 travis: avoid timeout without saving caches, also enable all qt (Chun Kuan Lee) Pull request description: - If depends build take more than 20 mins, skip Bitcoin Core build to store depends caches and mark it fail. Then restart the job for Bitcoin Core build. - Enable Qt build for Windows and 32-bit Linux - Enable wallet for depends x86-64 Linux - Disable gui tests for Windows since they are not supported This would be helpful for upgrading Qt (#12971) and protobuf (#13513) Tree-SHA512: e943cbd848d90f9f70e29c94ed717f96ad2c2d27b433bafea762015756a2d2794fc28976c54aee087bf0f3726ac2c9140920272445a902038719b956e2160cf9
3387bb0 travis: avoid timeout without saving caches, also enable all qt (Chun Kuan Lee) Pull request description: - If depends build take more than 20 mins, skip Bitcoin Core build to store depends caches and mark it fail. Then restart the job for Bitcoin Core build. - Enable Qt build for Windows and 32-bit Linux - Enable wallet for depends x86-64 Linux - Disable gui tests for Windows since they are not supported This would be helpful for upgrading Qt (bitcoin#12971) and protobuf (bitcoin#13513) Tree-SHA512: e943cbd848d90f9f70e29c94ed717f96ad2c2d27b433bafea762015756a2d2794fc28976c54aee087bf0f3726ac2c9140920272445a902038719b956e2160cf9
3387bb0 travis: avoid timeout without saving caches, also enable all qt (Chun Kuan Lee) Pull request description: - If depends build take more than 20 mins, skip Bitcoin Core build to store depends caches and mark it fail. Then restart the job for Bitcoin Core build. - Enable Qt build for Windows and 32-bit Linux - Enable wallet for depends x86-64 Linux - Disable gui tests for Windows since they are not supported This would be helpful for upgrading Qt (bitcoin#12971) and protobuf (bitcoin#13513) Tree-SHA512: e943cbd848d90f9f70e29c94ed717f96ad2c2d27b433bafea762015756a2d2794fc28976c54aee087bf0f3726ac2c9140920272445a902038719b956e2160cf9
This would be helpful for upgrading Qt (#12971) and protobuf (#13513)