This repository has been archived by the owner on Oct 27, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (34 loc) · 1.68 KB
/
.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
language: python
python:
- '3.5'
- '3.6'
- pypy3
sudo: true
before_script:
- make install_dependencies PYTHON_BIN=python3 PIP_BIN=pip SUDO=""
- make build install_as_package clean PYTHON_BIN=python3 PIP_BIN=pip SUDO=""
script:
# execute unit tests to check inner logic
- make test
# setup test SSH server for integration tests
- make setup_test_docker_host PYTHON_BIN=python3
- mkdir -p ~/.ssh && ssh-keyscan -p 2422 localhost >> ~/.ssh/known_hosts
# build expectation
- make dev_build_expectations PYTHON_BIN=python3 SUDO=""
- make dev_http_run &
- (sleep 10 && killall python) || true
# print version number, if the tagged version is properly detected
- python3 setup.py --version
deploy:
skip_cleanup: true
skip_existing: true
provider: pypi
distributions: sdist bdist_wheel
on:
tags: true
branch:
- master
- "/v?(\\d+\\.)?(\\d+\\.)?(\\*|\\d+)$/"
user: marek_man
password:
secure: "NR4qIr/qSwJfR3DbbSlWFp5YELckX762CyCA5z89dWPXnbVmK24jIAkTovEI3tlTMxqNP9e2QbSfuy7pE9rt9YtpeE6Kz/vL4DZumXNz+CxM2m3wjFNtPoSa5glfCXPwOLe9gqWmlpxAOkM9LR+TqvqDE/J2eUBMe7ShC00/q9yrjqLyDwWfj9T/jzR58HBKQjLfBawe78bZjyRC9BBNV7e59xkveI9Bo6KaTpnY25m5R63NLmPbYkuHjuPCH0V7FLIoxN/Sus8JCfM5wDI7trz/YbYcHzky892oQnqb4nIR6VPTnXPc6yStz76xKeEhaKoOLL3NtBnlYSqJYXQ0bd260T99g6zDh/q0vQvOs62owEkHGOVUWABdYiYFTfDT8uGL0xMlR1kgc9F5pdItgFfRm4vTX8TPdOXnV9YsH5yBpl9Sdq1e1vjZeU95KsArd8U1pAXlVXYueXVewF3Qx4WngEvqBXPMVag4fZNfqh2FOW/U/woF7vcUphLxIiWvev8s9rJT5yjxFDE4L3tgu8TprSv8s1gKdlpZLthKlr3FH62eYsfwNlxb3MZOZE5Ph2hrPF8h6UFi9vZfvxH6Hwtos9PqkQzvxyuusXzM+lykVGhgWPvQAooExBhrvO9ASGYy/X9B4eeA01ShTre0uYDgEXFzNnZYBPc/H1+NWE0="