A configuration like this one:
addons:
apt:
sources:
- sourceline: ppa:ondrej/php
update: true
doesn’t work as expected. It only adds the ppa, but won’t actually execute the apt update
command afterward as expected.
Do you have a link to the build that shows the problem?
Yeah, sorry for not including it in the first place. Here: https://travis-ci.org/simPod/PHP-SNMP/jobs/547822486
I only found out about it thanks to IDE support (imports http://json.schemastore.org/travis ) …
Anyway, it should trigger the update regardless of the package presence…why else would I add a new source if I didn’t want to use it?
Testing locally shows that apt-add-repository
automatically calls apt update
afterwards in Bionic. Judging by the build log, not so in Xenial.