flycheck / emacs-travis

Install Emacs on Travis CI
56 stars 13 forks source link

use gzipped tarballs instead of xz #8

Closed dunn closed 6 years ago

dunn commented 7 years ago

xzipped tarballs are only available for Emacs 24.2 and newer.

fmdkdd commented 7 years ago

That would make downloading pre-releases fail, since the tarballs in https://alpha.gnu.org/pub/gnu/emacs/pretest/ are all xzipped.

(Travis did not fail because we cache non-snapshot releases)

Also, when both gz and xz exist, the xz shave off significant bytes.

At the very least, you could use the existing test for PRE_RELEASE_PART to ensure xz is used there. And probably add another test in the else branch on the version number to get the gz for versions inferior to 24.2.

dunn commented 7 years ago

Ah, gotcha. OK, I'll take a look.