The Travis CI builds for macOS X are failing because these now
timeout. This happens because qt is being built from source instead
of being installed from a bottle.
Note that by default the Travis CI will terminate a build after 10
minutes if no output has been received. Unfortunately building qt
from source code may take hours.
To address this issue, choose a macOS X version that has a homebrew
bottle for qt [1].
[1] https://formulae.brew.sh/formula/qt
The homebrew project currently lists having a qt bottle for:
- Mojave (10.14)
- High Sierra (10.13)
- Sierra (10.12)
No bottle is listed for macOS El Capitan (10.11)
In order to support as many versions of macOS X as possible, choose
the lowest osx_image value [2] that is currently supported with a
homebrew bottle.
[2] https://docs.travis-ci.com/user/reference/osx#os-x-version
At this time osx_image value xcode8.3 is listed as supporting OS X
10.12.
Python only shows the deprecation warnings on initial run [1].
[1] https://bugs.python.org/issue30091
To work around this add the "-B" option to python invocation.
7.3 is the oldest image available on TravisCI that works. Older 6.4
version does not play well with Enchant, resulting in a build error.
This could probably be averted by trying to build with 6.4 and without
Enchant support, but I'm not sure if it's worth it.