diff options
author | Davide Beatrici <davidebeatrici@gmail.com> | 2019-10-13 23:06:44 +0300 |
---|---|---|
committer | Davide Beatrici <davidebeatrici@gmail.com> | 2019-10-14 05:15:29 +0300 |
commit | 62f795a0cfa37233d20b86dba93bcc12896bb769 (patch) | |
tree | a4bf529fcffdde78accca3709ffa8c2aedf1603f /.travis.yml | |
parent | c16ba44e03a3c5f5a64abe6ff674d4e09c6f85fe (diff) |
Travis CI: disable PCH for MinGW builds, to workaround generation issue
After switching from Ubuntu Xenial (16.04) to Ubuntu Cosmic (18.04), the following issue appeared:
cc1plus: error: one or more PCH files were found, but they were invalid
cc1plus: error: use -Winvalid-pch for more information
cc1plus: fatal error: release/mumble_pch.hpp: No such file or directory
This commit workarounds the issue by disabling PCH.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 00c425853..a6ec60fc6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,10 +21,10 @@ matrix: env: MUMBLE_HOST=x86_64-linux-gnu MUMBLE_NO_PCH=1 - os: linux dist: bionic - env: MUMBLE_HOST=i686-w64-mingw32 + env: MUMBLE_HOST=i686-w64-mingw32 MUMBLE_NO_PCH=1 - os: linux dist: bionic - env: MUMBLE_HOST=x86_64-w64-mingw32 + env: MUMBLE_HOST=x86_64-w64-mingw32 MUMBLE_NO_PCH=1 before_install: - ./scripts/travis-ci/before_install.bash |