Also removes now-unnecessary bc dependency from other builds.
Travis: Test build against system libs (& Qt4) #7142
pull luke-jr wants to merge 2 commits into bitcoin:master from luke-jr:travis_qt4 changing 1 files +9 −5-
luke-jr commented at 10:46 AM on December 1, 2015: member
- laanwj added the label Build system on Dec 1, 2015
- laanwj added the label Tests on Dec 1, 2015
-
laanwj commented at 11:30 AM on December 1, 2015: member
Concept ACK on testing with qt4, but I'm not entirely happy about adding yet another build for this, Travis is slow enough these days.
-
jonasschnelli commented at 11:57 AM on December 1, 2015: contributor
Concept ACK. Agree with @laanw but IMO another build is more valuable then a speedy CI.
-
laanwj commented at 12:01 PM on December 1, 2015: member
@jonasschnelli I wonder if there's a compromise, if we can combine the qt4 build with one of the existing builds
-
jonasschnelli commented at 12:24 PM on December 1, 2015: contributor
We only have one linux "full" Qt5 build "32bit + dash". The other linux QT5 build does not build the wallet. Maybe it would be worth to change one of the windows builds (Win32) to build with Qt4? On the other hand, Qt4 mostly makes sense on Linux, but even though, a Win32 Qt4 build should at least detect most Qt4 incompatibilities.
- luke-jr force-pushed on Dec 1, 2015
- luke-jr force-pushed on Dec 1, 2015
- luke-jr force-pushed on Dec 1, 2015
- luke-jr force-pushed on Dec 2, 2015
- luke-jr force-pushed on Dec 2, 2015
-
laanwj commented at 9:24 AM on December 2, 2015: member
@laanwj Oh, an idea if Travis time is a concern: make this build use only system libraries (no depends). That's probably better test coverage anyway...
Not a bad idea because of the extra test coverage with old libraries, but I don't think that will save much time as the depends are supposed to be built once and cached anyway.
-
MarcoFalke commented at 10:43 AM on December 2, 2015: member
supposed to be built once and cached anyway.
Does travis cache between builds, I don't think so?
-
laanwj commented at 11:25 AM on December 2, 2015: member
No, not between builds, I think. In most cases this would make no sense as they have different flags or even a different platform.
-
theuni commented at 6:20 PM on December 2, 2015: member
Right. To clarify, depends are cached and re-used for subsequent builds of the same config. Each config is an island though.
Personally, I don't think this is worth adding another build for. If anything, I'd rather do as @laanwj said and combine it with another.
- laanwj closed this on Jan 16, 2016
- laanwj reopened this on May 25, 2017
-
laanwj commented at 11:28 AM on June 24, 2017: member
Needs rebase.
-
jtimon commented at 11:06 PM on June 24, 2017: contributor
Concept ACK
- luke-jr force-pushed on Jul 5, 2017
-
luke-jr commented at 8:34 AM on July 5, 2017: member
Rebased, sorry for the delay
-
TheBlueMatt commented at 5:43 PM on July 11, 2017: member
Concept ACK. Only concern is are we willing to add more jobs to travis? Can we pay them to make things go faster?
-
MarcoFalke commented at 10:54 AM on July 30, 2017: member
@TheBlueMatt According to apache, it is possible to increase the number of concurrent builds. (https://blogs.apache.org/infra/entry/apache_gains_additional_travis_ci)
Though, I am slightly worried that this makes it harder for developers to fork the project and enable travis on their fork. After switching to the paid infrastructure, we might have faster machines or even extended timeouts for the build times. By forking the project, the new limits no longer apply and builds might time out or fail, which is a nuisance for new contributors.
-
MarcoFalke commented at 10:56 AM on July 30, 2017: member
Is this still WIP or ready for review?
-
in .travis.yml:29 in ab1cacfc66 outdated
24 | @@ -25,6 +25,8 @@ env: 25 | - HOST=arm-linux-gnueabihf PACKAGES="g++-arm-linux-gnueabihf" DEP_OPTS="NO_QT=1" CHECK_DOC=1 GOAL="install" BITCOIN_CONFIG="--enable-glibc-back-compat --enable-reduce-exports" 26 | # Win32 27 | - HOST=i686-w64-mingw32 DPKG_ADD_ARCH="i386" DEP_OPTS="NO_QT=1" PACKAGES="python3 nsis g++-mingw-w64-i686 wine1.6 bc" RUN_TESTS=true GOAL="install" BITCOIN_CONFIG="--enable-reduce-exports" 28 | +# Qt4 29 | + - HOST=x86_64-unknown-linux-gnu PACKAGES="bc python3-zmq qt4-dev-tools" DEP_OPTS="NO_QT=1" RUN_TESTS=true GOAL="install" BITCOIN_CONFIG="--enable-zmq --enable-glibc-back-compat --enable-reduce-exports --with-qt=qt4 CPPFLAGS=-DDEBUG_LOCKORDER"
MarcoFalke commented at 1:20 PM on July 30, 2017:No need for the
bcpackage. Also, the configure option is called--with-gui=qt4.
luke-jr commented at 6:13 PM on August 4, 2017:Why is
bcnot needed here? Other builds need it...?
MarcoFalke commented at 11:21 PM on August 4, 2017:I can't figure out why the "GNU bc arbitrary precision calculator language" is required. It is likely an artifact of the days where the functional tests were written in bash.
MarcoFalke commented at 8:59 AM on August 5, 2017:luke-jr renamed this:[WIP] Travis: Test build against system Qt4
Travis: Test build against system Qt4
on Jul 30, 2017luke-jr force-pushed on Aug 5, 2017luke-jr force-pushed on Aug 5, 2017luke-jr commented at 9:53 AM on August 5, 2017: memberFixed issues, rebased, and removed
bcfrom the other builds too.luke-jr force-pushed on Aug 5, 2017Travis: Remove bc tool from dependencies 8d82e1336aTravis: Test build against system libs (& Qt4) 6d2aac8bb1luke-jr force-pushed on Aug 5, 2017luke-jr renamed this:Travis: Test build against system Qt4
Travis: Test build against system libs (& Qt4)
on Aug 5, 2017luke-jr commented at 11:57 AM on August 5, 2017: memberThere, tests pass now, and it tests against more system dependencies as well.
MarcoFalke commented at 9:53 PM on August 8, 2017: memberutACK 6d2aac8bb142adc1e5cff9dd91ddd1d91403b33c
MarcoFalke merged this on Sep 12, 2017MarcoFalke closed this on Sep 12, 2017MarcoFalke referenced this in commit 801dd40666 on Sep 12, 2017MarcoFalke locked this on Sep 8, 2021Labels
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-15 15:15 UTC
More mirrored repositories can be found on mirror.b10c.me