Skip to content

Travis: git fetch --unshallow for version number #2767

Merged
Frenzie merged 1 commit intokoreader:masterfrom
Frenzie:just_testing_travis
Apr 14, 2017
Merged

Travis: git fetch --unshallow for version number #2767
Frenzie merged 1 commit intokoreader:masterfrom
Frenzie:just_testing_travis

Conversation

@Frenzie
Copy link
Copy Markdown
Member

@Frenzie Frenzie commented Apr 14, 2017

Travis only makes a shallow clone of --depth=50. KOReader is small enough that we can just grab it all. This is necessary to generate the version number, without which some tests will fail.

I'm not entirely sure why something like git fetch origin master tags/v2015.11 doesn't do the trick, but it doesn't matter much.

@Frenzie Frenzie changed the title Just testing travis (ignore) Just testing travis Apr 14, 2017
Travis only makes a shallow clone of --depth=50. KOReader is small enough that we can just grab it all. This is necessary to generate the version number, without which some tests will fail.

I'm not entirely sure why something like `git fetch origin master tags/v2015.11` doesn't do the trick, but it doesn't matter much.
@Frenzie Frenzie force-pushed the just_testing_travis branch from 6e34e29 to 51c1be3 Compare April 14, 2017 20:27
@Frenzie Frenzie changed the title (ignore) Just testing travis Travis: git fetch --unshallow for version number Apr 14, 2017
@Frenzie Frenzie merged commit 6542382 into koreader:master Apr 14, 2017
@Frenzie Frenzie deleted the just_testing_travis branch April 15, 2017 12:46
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.

1 participant