Move Travis CI checkout and patching to `before_install` section.
Review Request #10976 — Created March 27, 2020 and submitted
In repos where dependencies are changing between branches, having the
checkout and patch steps run as part of the Travis CIscript
would
sometimes fail (for example, attempting to do builds of djblets on
release-1.0.x failed ininstall
because it was trying to get
django-evolution 2.0, as required in the master branch).Doing the checkout and patch in
before_install
makes a lot more sense,
because then we've got the full change in the working directory before
doing anything.
Ran a build of a change from djblets-1.0.x and saw that it got past the
initial install/setup steps, where before it didn't.
- Change Summary:
-
Fix Review Bot complaints.
- Commit:
-
c9df9c0c793c20364293edce490c2875d68678bb77c6f11246566d5a11762297b8d5fac3863da813
- Diff:
-
Revision 2 (+12 -12)
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.
- Commit:
-
77c6f11246566d5a11762297b8d5fac3863da8131bfb83e99296f8a56fb92117626af6e0be48712c
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.