Commit graph

15 commits

Author SHA1 Message Date
Cory Fields c54d647a92 travis: let travis use shared libs for tests 2014-11-19 22:49:41 -05:00
Pieter Wuille 3c1e10b161
Merge pull request #5297
096efc5 travis: install less packages from apt-get (Cory Fields)
2014-11-18 14:21:15 +01:00
Cory Fields 560e99636c travis: attempt to fix unlikely build issue
This is a long chain of errors, and there are likely other changes that could
be made to cope in other places along that chain.

If depends don't build successfully, don't bother trying again for the sake of
better logging. That's likely to hurt more than help. In this case, qt build
failed, and on the second attempt, it appeared to be successful. However, due
to a bad object from an internal gcc error on the first build, the resulting
lib was unusable. This caused bitcoin-qt to not be built, and tests and
packaging which expected bitcoin-qt to be there failed.

The root cause:
Mingw is especially crashy when using -jX, likely compounded by low-memory
environments. I've seen multiple problems with this combo in Gitian as well.

In this case:
i686-w64-mingw32-g++: internal compiler error: Killed (program cc1plus)
...
make[3]: *** [.obj/release/qdrawhelper.o] Error 4

The workaround:
Bump Travis down to using -j2 by default. Additionaly, enable --with-gui for
the windows builds. This will cause configure to fail if qt is not working
while also testing the config flag.

Other failures which may be worth revisiting separately:
- If a depends package fails, maybe remove the workdir so that it doesn't taint
  subsequent runs
- See if there's anything repeatable about the ICE when building qt
2014-11-13 04:09:19 -05:00
Cory Fields 096efc5812 travis: install less packages from apt-get 2014-11-12 18:35:18 -05:00
Cory Fields 2191eac812 add tests to travis 2014-10-31 00:28:52 -04:00
Luke Dashjr caecb42b38 Travis: Descriptive build names 2014-10-10 03:36:49 +00:00
Cory Fields d6b0539f45 travis: add non-default shell testing to travis. 2014-10-03 18:56:04 -04:00
Cory Fields e9f3fa7c0b travis: enable windows tests 2014-10-01 06:59:59 -04:00
Matt Corallo e166c177bc Revert "travis: retry tests before giving up"
This reverts commit 7e3821c097.
2014-09-30 12:14:22 -07:00
Cory Fields 93e24dddf3 travis: use debug for one build
For the all-off build, enable the wallet and debug. This ensures that debug
options will catch wallet problems as well.

In order to make sure the no-wallet path is still tested, disable the wallet
in the other x86_64 build.
2014-09-25 14:56:26 -04:00
Cory Fields 1b0c981cb6 travis: use DEBUG_LOCKORDER for our quick/small Linux build 2014-09-16 14:23:55 -04:00
Cory Fields 7e3821c097 travis: retry tests before giving up 2014-09-16 13:39:25 -04:00
Luke Dashjr 21b7addc9b Bugfix: Add missing equals-sign to Travis config 2014-09-15 07:41:53 +00:00
Cory Fields 81061ffd69 travis: add osx build 2014-09-04 14:18:13 -04:00
Cory Fields 9380d019a1 travis: initial descriptor 2014-08-25 11:48:31 -04:00