Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TST: travis: Adjust upstream Git build for Xenial
Travis recently switched to using Xenial by default, and the Xenial image, unlike the Trusty one, doesn't have third-party apt-repositories [0]. Selectively enable ppa:git-core/ppa in the upstream Git build because we rely on that repository to get the latest Git. Note that we install git through "addons: apt: packages:" rather than our tools/ci/install-latest-git.sh script. This has the downside that Git is installed unnecessarily, both for builds that have _DL_CRON set and for builds where the bundled Git matches the latest upstream one. We do it because otherwise the build exits (with a status of 0) right after the installation happens [1]. The same happens if we use "dist: trusty", which should have the third-party repositories enabled [2]. [0]: https://docs.travis-ci.com/user/reference/xenial/#third-party-apt-repositories-removed [1]: https://travis-ci.org/datalad/datalad/jobs/550376442 [2]: https://travis-ci.org/datalad/datalad/builds/550835880 Re: datalad#3476
- Loading branch information