Skip to content

travis: cache the chroot we use for package builds#429

Merged
OddBloke merged 4 commits into
canonical:masterfrom
OddBloke:travis
Jun 12, 2020
Merged

travis: cache the chroot we use for package builds#429
OddBloke merged 4 commits into
canonical:masterfrom
OddBloke:travis

Conversation

@OddBloke
Copy link
Copy Markdown
Collaborator

Prior to this change, we would debootstrap for every single integration
test run in Travis. This changes that, so we will store the chroot
created by debootstrap in Travis' cache, and use it if available. This
saves 3-4 minutes, or ~1/3rd of the integration test run time (which is
our longest run).

Prior to this change, we would debootstrap for every single integration
test run in Travis.  This changes that, so we will store the chroot
created by debootstrap in Travis' cache, and use it if available.  This
saves 2-3 minutes, or ~1/3rd of the integration test run time (which is
our longest run).
Copy link
Copy Markdown
Collaborator

@raharper raharper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice improvement; some optional tar comments.

Comment thread .travis.yml Outdated
Comment thread .travis.yml Outdated
Comment thread .travis.yml Outdated
@OddBloke OddBloke force-pushed the travis branch 2 times, most recently from d34cba5 to 63c7485 Compare June 12, 2020 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants