Permalink
Browse files

travis: add ssh key for localhost

Also install packages by using the travis apt addon syntax.

Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
  • Loading branch information...
Emantor authored and jluebbe committed Apr 25, 2018
1 parent cf57390 commit af4371dc559f157e2ae1d3312795a0a0afce4284
Showing with 11 additions and 2 deletions.
  1. +11 −2 .travis.yml
@@ -1,10 +1,19 @@
language: python
addons:
apt:
packages:
libow-dev
openssh-server
openssh-client
python:
- "3.5"
- "3.6"
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y libow-dev
- ssh-keygen -f ~/.ssh/localkey -t ed25519 -N ""
- cat ~/.ssh/localkey.pub > ~/.ssh/authorized_keys
- echo -e "Host localhost ip6-localhost\n Hostname 127.0.0.1\n Identityfile ~/.ssh/localkey" > ~/.ssh/config
install:
- pip install -r travis-requirements.txt
script:

0 comments on commit af4371d

Please sign in to comment.