Skip to content

Commit

Permalink
Import new GPG key to download ELPA package on Travis CI
Browse files Browse the repository at this point in the history
Old GPG key was expired at Sep 2019.
  • Loading branch information
iquiw committed Oct 5, 2019
1 parent 9d75c6d commit 6db92db
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@ before_install:
- make -f emacs-travis.mk install_gnutls install_emacs
- make -f emacs-travis.mk install_cask
- docker pull asciidoctor/docker-asciidoctor
- |
case $EMACS_VERSION in
25.*) EMACS_GNUPGHOME=.cask/$EMACS_VERSION/elpa/gnupg ;;
*) EMACS_GNUPGHOME=$HOME/.emacs.d/elpa/gnupg ;;
esac
mkdir -p "$EMACS_GNUPGHOME"
chmod 700 "$EMACS_GNUPGHOME"
wget 'https://git.savannah.gnu.org/cgit/emacs.git/plain/etc/package-keyring.gpg'
gpg --homedir "$EMACS_GNUPGHOME" --import package-keyring.gpg
install:
- cask install
- sudo pip install python-language-server
Expand Down

0 comments on commit 6db92db

Please sign in to comment.