File tree Expand file tree Collapse file tree 4 files changed +55
-1
lines changed Expand file tree Collapse file tree 4 files changed +55
-1
lines changed Original file line number Diff line number Diff line change
1
+ codecov :
2
+ notify :
3
+ require_ci_to_pass : no
4
+
5
+ coverage :
6
+ status :
7
+ patch :
8
+ default :
9
+ target : ' 80'
10
+ if_no_uploads : error
11
+ if_not_found : success
12
+ if_ci_failed : failure
13
+ project :
14
+ default : false
15
+ library :
16
+ target : auto
17
+ if_no_uploads : error
18
+ if_not_found : success
19
+ if_ci_failed : failure
20
+ paths :
21
+ - " pvlib/(\w +/)?[^/]+\. py$"
22
+
23
+ tests :
24
+ target : 100%
25
+ paths :
26
+ - " pvlib/tests/.*"
27
+
28
+ comment : off
Original file line number Diff line number Diff line change
1
+ [run]
2
+ omit = pvlib/_version.py
Original file line number Diff line number Diff line change 2
2
# http://conda.pydata.org/docs/travis.html
3
3
# https://github.com/xray/xray/blob/master/.travis.yml
4
4
# https://github.com/scipy/scipy/blob/master/.travis.yml
5
+ # https://github.com/Unidata/MetPy/blob/master/.travis.yml
5
6
6
7
language : python
7
8
sudo : false # if false, use TravisCI's container based build
@@ -19,7 +20,10 @@ matrix:
19
20
- python : 3.5
20
21
env : CONDA_ENV=py35
21
22
- python : 3.6
22
- env : CONDA_ENV=py36
23
+ env :
24
+ - CONDA_ENV=py36
25
+ - TASK="coverage"
26
+ - DEPLOY_ENV="true"
23
27
- python : 3.6
24
28
env : CONDA_ENV=py37
25
29
@@ -75,5 +79,24 @@ install:
75
79
script :
76
80
- pytest pvlib --cov=pvlib --cov-report term-missing
77
81
82
+ after_script :
83
+ - if [[ $TASK == "coverage" ]]; then
84
+ pip install codecov;
85
+ codecov -e TRAVIS_PYTHON_VERSION;
86
+ fi
87
+
78
88
after_success :
79
89
coveralls
90
+
91
+ deploy :
92
+ - provider : pypi
93
+ user : wholmgren
94
+ password :
95
+ secure : cUaCm+/9BAZ7pn1e6+X1TBh4ysSW9dFnUHrYIcR8xefb/O5YVlzPZACt2pR0vYJuJ6vGWOK5VzigeKyh9dccIJUqntqsqNwQF3GkgcNNzIwDUKzsmbuKEgL1GCvJWaIvov0Sevfmg7eFpGbXdynw6IVFMBssz+eVCwEV5Ww8WbI=
96
+ distributions : sdist bdist_wheel
97
+ upload_docs : false
98
+ on :
99
+ repo : pvlib/pvlib-python
100
+ python : 3.6
101
+ condition : $DEPLOY_ENV == "true"
102
+ tags : true
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ pvlib-python
4
4
[ ![ TravisCI] ( https://travis-ci.org/pvlib/pvlib-python.svg?branch=master )] ( https://travis-ci.org/pvlib/pvlib-python )
5
5
[ ![ Build status] ( https://ci.appveyor.com/api/projects/status/gr2eyhc84tvtkopk?svg=true )] ( https://ci.appveyor.com/project/wholmgren/pvlib-python-fv2to )
6
6
[ ![ Coverage Status] ( https://img.shields.io/coveralls/pvlib/pvlib-python.svg )] ( https://coveralls.io/r/pvlib/pvlib-python )
7
+ [ ![ codecov] ( https://codecov.io/gh/pvlib/pvlib-python/branch/master/graph/badge.svg )] ( https://codecov.io/gh/pvlib/pvlib-python )
7
8
[ ![ Documentation Status] ( https://readthedocs.org/projects/pvlib-python/badge/?version=latest )] ( http://pvlib-python.readthedocs.org/en/latest/ )
8
9
[ ![ DOI] ( https://zenodo.org/badge/DOI/10.5281/zenodo.1246152.svg )] ( https://doi.org/10.5281/zenodo.1246152 )
9
10
[ ![ Code Health] ( https://landscape.io/github/pvlib/pvlib-python/master/landscape.svg?style=flat )] ( https://landscape.io/github/pvlib/pvlib-python/master )
You can’t perform that action at this time.
0 commit comments