forked from fgimian/paramiko-expect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (35 loc) · 903 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
sudo: required
services:
- docker
language: python
python:
- '2.7'
- '3.4'
- '3.5'
- '3.6'
- pypy
- pypy3
- nightly
install:
- pip install .
- pip install -r requirements-test.txt
script:
- docker run -d -p 2222:22 -v `pwd`/examples:/examples -v `pwd`/test/id_rsa.pub:/root/.ssh/authorized_keys -e SSH_ENABLE_ROOT=true docker.io/panubo/sshd
- sleep 2
- py.test -s --cov paramiko_expect --cov-report term-missing
after_success:
- codecov
notifications:
email: false
before_deploy: "sudo chown `whoami` `pwd`/test/id_rsa.pub"
deploy:
provider: pypi
user: fruch
password:
secure: FCls6gPaQuB3bdbKuTO92AffQLVD38o2NT2LFwri6Lf4FCosCGlxD/xLsNYvnmRFLp//YtMuQi8TseXtdTvT+Bo94kJmK0HsHAV2+cLX/F7HyKHu5peCrxlJEPzGxNX3CdYAGNxgMK63HfjoFKsMEQQxmNaRvV+TUcYjKBLql4A=
on:
tags: true
distributions:
- sdist
- bdist_wheel
repo: fgimian/paramiko-expect