-
Notifications
You must be signed in to change notification settings - Fork 31
/
.travis.yml
36 lines (36 loc) · 1.09 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
language: python
services:
- docker
dist: xenial
python:
- '2.7'
- '3.7'
before_install:
- docker pull eclipse-mosquitto
- docker run -d -p 11883:1883 -p 9001:9001 -v $(pwd)/mosquitto:/mosquitto/config eclipse-mosquitto
- docker run -d -p 1883:1883 eclipse-mosquitto
install:
- pip install -r requirements.txt
script:
- robot -P src tests
deploy:
- provider: pypi
user: randomsync
password:
secure: bbHK7u+MEnJ4YifZuSsF+O5HmIMvlfHaVd1u31k2Xdbj1aYsIz1tpD+iH4mYsinJ7YpnmfJAGArSPlemLEJC2kdRcnlSRQONtpUuooLG2PPQbwIgVtJh3gpxA06L1GxVoMeRWnCfqDttFSMIs7NTxA52UtalZbER5ALXB8StHn0=
distributions: sdist bdist_wheel
skip_cleanup: true
skip_existing: true
on:
repo: randomsync/robotframework-mqttlibrary
tags: true
- provider: releases
api_key:
secure: JAaqldr74M3AwKBUAyCoeEdeFotPgXlSO7ML6IWpv327UXsz/CZyZg3lDnFZEPyUfzr/pndUEN/M/eeHTuLMXVhv5rdaiMWS5pXXcs6mmR7irT5LK3giRJKJpfNWcOTCRkotHJRkMC7vOuHWhuLrJ0a7v4yxZyTcqBsQUq+Qk/Q=
file: dist/*
skip_cleanup: true
draft: true
on:
repo: randomsync/robotframework-mqttlibrary
tags: true
python: '3.7'