Skip to content

Commit

Permalink
Enable ssh with public key authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
FelipeLema committed Apr 4, 2019
1 parent 90152a1 commit dc6bc8b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
# see http://sachachua.com/blog/2015/02/continuous-integration-code-coverage-emacs-packages-travis-coveralls/
language: emacs-lisp
before_install:
# enable ssh
- sed -i 's/.*PubkeyAuthentication.*/PubkeyAuthentication yes/'
- service ssh restart
- ssh-keygen -t rsa -C "<me@mymail>" -f ~/.ssh/id_this_travis_build
- cat ~/.ssh/id_this_travis_build.pub >> ~/.ssh/authorized_keys
# PPA for Emacs nightlies
- sudo add-apt-repository -y ppa:ubuntu-elisp/ppa
# Update and install the Emacs for our environment
Expand Down

0 comments on commit dc6bc8b

Please sign in to comment.