-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
33 lines (33 loc) · 1.48 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
env:
global:
- CC_TEST_REPORTER_ID=26273baa4f8126efe7abd57fb585e25adc2a817f4d33a7cff74d76a4c2f85395
language: python
python:
- '3.6'
- '3.7-dev'
install:
- pip install -r requirements.txt
- pip install codecov wheel cmarkgfm
- pip install --upgrade pytest
- pip install codacy-coverage
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64
> ./cc-test-reporter
- chmod +x ./cc-test-reporter
- "./cc-test-reporter before-build"
script:
- python setup.py test
after_script:
- "./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT"
- python-codacy-coverage -r reports/coverage.xml
- codecov
deploy:
provider: pypi
user: "grm"
password:
secure: Q7oGxSOjGFpgc9ROS+HrNnWAQ1ewSRaQg2MVKGXP66jW7sKAdg10jGUT5mR1XX74c9/6EzeFam9T2DxNjp+ky+Y0MjLi3niAu2+Q/WfHSsLSPamoSa/fAEMV+BsmK1vV2EPoRmNwQ6ZMwswXrkNK6RmH25yTft/fkP6xaRWY5u3zI5uK8eb7Rfm+kGjWoIb9YS7P9yGb3+hqXJmozE902ZKL8+yT1S/sIouJopYT2BQcxZzLq3H/p6mjHOQEFCxBwgm4XPweS89IrM8eiQ7z3b36WQxXQ785esrXsjYgoGSlnLR1Y5WyOPnXLkubo2lgdenkY5vNgWSOIH7nUSv9I743KbfGMsNDCzDHd0r5iO6pPHGYAl9YNl2TiPOwHmjKEmUibEh67VIRGp6/ucJ30hi63UeOTHaINr2k624fS5T1NHvDbe6CYOju6puGla+G+2TnGWr1ttrcwev8G/8Z8NsjY30W8mf+4h/4+BWbPt7r4XJqrkr1G3lq3r9F/Ku7SaYzr3UosUZk+UCCc3QWlIvbbaMpFeWNdvTVi2VCpMz2tfbxOTaIL043wJraraEDwR2EQHQ23ehyqHE2R2q5KSoiPBoR8+WXWi35yMvEFBVmCLutSDbzLbHvfUGybsJV8esB/1qHTEk+vZI8VY3TWHBsDcNqMjAyCPcOJzTOrnI=
on:
tags: true
branch: master
python: '3.7-dev'
distributions: "register sdist bdist_wheel"