forked from gbeine/pyfronius
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (35 loc) · 1.38 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
41
42
language: python
python:
- "3.6"
- "3.7"
- "3.8"
dist: xenial
sudo: true
matrix:
fast_finish: true
install:
- pip install coverage
- pip install coveralls
- pip install tox-travis
- pip install -e .
script:
- tox
- python scripts/test_import.py
- coverage run --source=pyfronius setup.py test
after_success:
- coverage report
- coveralls
before_deploy:
# Set up git user name and tag this commit
- git config --local user.name "nielstron"
- export TRAVIS_TAG=release-$(cat setup.py | grep version= | cut -d "\"" -f 2)
- git tag $TRAVIS_TAG
deploy:
provider: pypi
on:
branch: master
python: "3.8"
skip_existing: true
username: "nielstron"
password:
secure: "JnM8hJUyNErrwtFKYWDKBs7qCN1rPqv/+ch+wngEqi/QABzQl2FfC1TQaFp5sVGWMaTtaex4fcWwES3G6jUK5jtrTIBRqh2LBUM2SO26fnsnPZvIdabvnuo2jCTYaEHD8o1dEyt28+eqIvUwvQ7GJfSQ4CVJt6hKz64wzziEnuUKepl5uUo+sNlzmm88d6hvbrpLwP2VyCxeyo5hmZv5mBWXWl5Vo1z4CPpDA/iZCP7OL/2GACc38bJFU3vXlIoffGaq1lyNcenlgqBjLYERhvlHhj2/FurCMH2dSNcQ65HYhabmHnIqWbzqxA19TL4C0XqAZ+cTf4qyEH3QdnJjBZg2tLX1PqW25G+z8WN634hGdv3kXvsex+KXRbxbMo/4LJabb6qs4X+1RTZJKRHBWdQiuadthY6a6zmBMasDuKkHDRUL4DAg+Jq7vZXyRLpOb501lHHiFIOlIgy7BXMl/yZcM1Ldwa1Xc11POUXq5sXDG3B5Wp/RdbLt0WFWbeT9988BfQy4/Q2Qlp/Nji2ftXj7o/PTc6LiH/TiKDDdWo9QkZBDUJuDL7Q2jzBo9kGfdHR30qc/hnHLv5lSWa+2ph5oOdg1p8CMywcnaLMvMtac0beChQUcPBZWrrgd8x/BPi3DQSYbX7q8jze2eg1kG/F4mOTM78sJJ1YaUawUbU8="