Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
47 lines (43 sloc) 1.08 KB
language: python
addons:
apt:
packages:
libow-dev
openssh-server
openssh-client
python:
- "3.5"
- "3.6"
before_install:
- ssh-keygen -f ~/.ssh/id_ed25519.local -t ed25519 -N ""
- cat ~/.ssh/id_ed25519.local.pub > ~/.ssh/authorized_keys
- echo -e "Host localhost ip6-localhost\n Hostname 127.0.0.1\n IdentityFile ~/.ssh/id_ed25519.local\n UserKnownHostsFile ~/.ssh/known_hosts.local" > ~/.ssh/config
- ssh -o StrictHostKeyChecking=no localhost echo OK
install:
- pip install -r travis-requirements.txt
script:
- pip install -e .
- pytest --cov-config .coveragerc --cov=labgrid --local-sshmanager
- python setup.py build_sphinx
- make -C man all
- git --no-pager diff --exit-code
after_success:
- codecov
matrix:
include:
- stage: docker
python: "3.6"
services:
- docker
script: ./docker/build.sh
- stage: optional
python: "3.7"
dist: xenial
sudo: true
- stage: optional
python: "3.8-dev"
dist: xenial
sudo: true
allow_failures:
- stage: docker
- stage: optional