Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix frontend tests on Travis #8089
The only important change here is the distro update in Travis config (trusty to xenial).
This is required since the latest stable Chrome (77, released 2019-09-10) doesn't support trusty, its installation attempt fails, and we try to run tests on a pre-installed version of Chrome (62, from 2017-10-17).
There are no side effects to that upgrade so far in my tests, but if there are any objections to this bump, we probably could install Chrome 76 (i.e. the last one that supported trusty) manually.
Note: This PR doesn't fix the Travis build completely. Backend tests are failing too, see: discourse/discourse-assign#47 (comment)
Fixes the frontend build, which was failing because Chrome has dropped Trusty support in the latest version. See: https://travis-ci.community/t/travis-is-downloading-older-chrome-versions-in-place-of-chrome-stable/5040/4