forked from weiwei/junitparser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (38 loc) · 1.46 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:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "3.7-dev"
# command to install dependencies
install:
- pip install -r requirements.txt
- pip install pytest
script:
- py.test test.py
stages:
- test
- quality
- name: deploy
if: branch = master AND tag IS present
jobs:
include:
- stage: quality
python: 3.6
install:
- pip install -r requirements.txt
- pip install pytest flake8 coveralls codacy-coverage
script:
- coverage run --source=junitparser test.py
- coverage xml
- coveralls
- python-codacy-coverage -r coverage.xml
- stage: deploy
python: 3.6
deploy:
provider: pypi
user: gastlygem
password:
secure: "tCa4OnCFHcf+/4lX2rxiVX8eoDc3PgyzjAZFtvIdXtUTmKRJWcCeOFBbFSada8TVNXzSazEgEsP1uz/8rGZB7In/lxUsxR+ZmtPPzA0O93eluAs5gR2Gz/JT1D0jejp0X7JTCNnv+jhQRZQFNUlaCOhH2jzMiby3dtjgjtUNNrAAo9SgATrz/8PRHolrnLdZ+olvDNmfC9cuMozBsvWLQtvGqfO+gUjfkc1EKrendiAer67BL6BhkwlmiZ9bwPZuyOQzTZ/wHbYuF9y/kR9yYzYBIgWHjH4dD0ZaMexXVPFrKsjRN7SRy0wLN4AF0YHs8vUP1XOKfWASAZ9y3GeyzN8Rvbl4yj4END65ta7sJozs/JRqP0zZp5wGM2dQNa8BsEhVP5Arg+2XZn08UUC8le1o82w4XKFCnxErns68khsRKLGjaF8gGKGnG1IlJ29fy2HWhx3jnrstZPTdsD+kFDPqNZEH4RtWuhaD2ifnvamZ2AYxOt0PZQFbXiz4vp5F4IDxHNm6CLNQRECaK7JN++PpoZkRwiPH0lFuTdSp0j2wJN+LuNghDhR+A14p0GckLdT7GKM/x2zvEUISfQpX6qhIWjCuInS/WxqLghVxWaqfgugNHgUNzi82DLf3uKeF9r+PyIKaDbJbrLfdYBen8zc9njUI5RuJRdgVatIr6oI="
distribution: "sdist bdist_wheel"