Skip to:
Content

BuddyPress.org

Changeset 9199 for trunk/.travis.yml


Ignore:
Timestamp:
11/27/2014 10:59:29 PM (9 years ago)
Author:
djpaul
Message:

Build: revert r9150 ("have Travis-CI shallow clone the repo").

The idea was to reduce the amount of data Travis-CI had to download when it cloned the test prior to each test run.
However, there doesn't seem to be much evidence to suggest this helped speed up the running of the test suite in a meaningful way.

The problem with using depth 1 is that if we make multiple commits in quick succession before Travis-CI is able to
kick off a build for that commit, it will fail due to being unable to find the commit. This is because Travis-CI seems to check out a branch and then check out the exact commit. It's possible to get into a situation where the latest branch is newer than the commit Travis is trying to build against.

Thanks to https://github.com/Freeseer/freeseer/commit/84252a6afc1465265565dd72d17c0bc438ba0988 for figuring out the black magic behind these failures.

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.