When running ng e2e
locally in my machine, it works properly but in Travis-CI build, it fails. It fails because ChromeDriver is now at version 83 and requires Chrome to be version 83. Please update the stable version used by the build to version 83 so that the builds can pass.
This is a link to a failed build containing ng e2e
command
https://travis-ci.com/github/obumnwabude/holmes/jobs/340261537
I changed from dist:trusty to dist:xenial in .travis.yml file since Xenial is the latest version. Yet the error persists. Please how can one get to use a newer version of Ubuntu release ?
Thanks very much for reaching out.
I created a demo project with the Angular CLI and followed the instructions in Angular Testing with Travis-CI
In the demo, I tweaked the .travis.yml as much as I could think of, but to know avail.
The builds are at https://travis-ci.com/github/obumnwabude/test-angular-travis
https://travis-ci.com/github/obumnwabude/test-angular-travis/builds/169466428 doesn’t show the error. In fact, the Chrome addon is not effective because your configuration is wrong.
The top-level key should be addons
. https://travis-ci.com/github/obumnwabude/test-angular-travis/jobs/343270502/config (click on the “view config” tab) tells you that the top-level chrome
is incorrect.
Ok thank you.
Please tell me what I should enter in my .travis.yml to get the addon properly. Please
Thank you very much, problem solved