HomePhabricator

Switch to GCC 7 on Travis, disable currently non-functional ARM + Windows builds

Description

Switch to GCC 7 on Travis, disable currently non-functional ARM + Windows builds

Summary:
Use of deleted function declaration broke older C++11 compilers.
(https://github.com/Bitcoin-ABC/bitcoin-abc/issues/98)
This enables GCC 7.2.0 from Ubuntu's toolchain repository.

Travis unfortunately offers limited support for newer versions
of the toolchains we need - but with this changeset we can at least
get Linux x86_64, i686 and Apple cross-compilation builds working again.

ARM and Windows builds are non-functional and have been removed for now.
To get them to work we would need improved versions of at least:

  • g++-arm-linux-gnueabihf
  • g++-mingw-w64-i686
  • g++-mingw-w64-x86-64

It is better to have Travis working for a subset of platforms than
to have it constantly fail the entire suite, even if short/medium term
it seems we need to move away from Travis due to its lack of currency.

Test Plan: check Travis build results

Reviewers: #bitcoin_abc, deadalnix, schancel

Reviewed By: #bitcoin_abc, schancel

Differential Revision: https://reviews.bitcoinabc.org/D626

Details

Auditors
jjz
Provenance
freetraderAuthored on Oct 29 2017, 02:34
freetraderPushed on Oct 31 2017, 16:42
Reviewer
Restricted Project
Differential Revision
D626: Switch to GCC 7 on Travis, disable currently non-functional ARM + Windows builds
Parents
rABC6abbaa607fd0: The color display is added to the test results of pyzmq ,Green is passed, Red…
Branches
Unknown
Tags
Unknown

Event Timeline

jjz accepted this commit.EditedNov 4 2017, 22:18
jjz added a subscriber: jjz.

I tested it ,it all passed .link

All concerns with this commit have now been addressed.Nov 4 2017, 22:18

Thanks for testing @jjz . It definitely it takes a long time when the caches are not filled.
Depending on if you're lucky or not (get a slow Travis instance or a faster one) it can even time out at the 50min limit for that first build (did for me).
In which case a platform build may error out and need to be restarted until it passes.

Travis is somewhat of a pain :-)