Current builds saturate Travis CI caches:
```
$ diff -U999 /tmp/ccache_before /tmp/ccache_after || true
--- /tmp/ccache_before 2019-11-19 21:45:52.491212479 +0000
+++ /tmp/ccache_after 2019-11-19 21:58:32.335898083 +0000
@@ -1,10 +1,13 @@
cache directory /home/travis/.ccache
primary config /home/travis/.ccache/ccache.conf
secondary config (readonly) /etc/ccache.conf
cache hit (direct) 0
cache hit (preprocessed) 0
-cache miss 0
-no input file 1
-files in cache 0
-cache size 0.0 kB
+cache miss 4156
+called for link 66
+called for preprocessing 3
+compile failed 9
+no input file 2
+files in cache 10568
+cache size 434.1 MB
max cache size 500.0 MB
```
I doubt it's possible to get more space allocated, though there are no
docs on what exact limits are. I suspect that default explicit setting
matches what's provided. Instead of trying to get more storage,
compress the objects with zlib (default level 6) to try increasing hit
rate.
The OSX builder keeps failing with timeouts and thus notifying false
positives of build errors.
This was not using ccache to speed up the build, so am trying to
implement usage of this.
Travis CI will terminate builds if the log output exceeds around 4MB of
text output. With verbose build enabled, this causes the builds to
terminate.
We could try avoiding this by redirecting standard output from make to
/dev/null ... However, the build will then fail due to lack of output
in some cases. The limit for that seems to be around 10 minutes of build
time with other projects adding a background loop to provide output at
9 minute intervals to avoid this.
Trusty, Ubuntu 14.04 LTS has reached end of standard support in April
2019. It is replaced in Travis job with Xenial, 16.04 LTS release with
support until April 2021.
There is an issue with SCUMMVM_REVISION being added to all objects,
rather than just base/version.o so this is for debugging this and
generally just improved verbosity for CI debugging.
The macOS build machines on Travis CI are failing constantly, and
for the time they've been enabled, they haven't really proven to
give any benefit. So, turning them off now, at least until Travis
CI gets more reliable so we are not contantly notified about their
broken build machines.
Travis builds are failing randomly after this change due to
upstream bug travis-ci/travis-ci#7103, so reverting these changes
until it is fixed.
This reverts commit 72f421cb38, reversing
changes made to c919c9996c.