Merge pull request #9 from dennissiemensma/code-coverage
Code coverage (Tox, Travis & Codecov.io)
This commit is contained in:
		
						commit
						bbea9de445
					
				
							
								
								
									
										2
									
								
								.coveragerc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								.coveragerc
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,2 @@ | |||||||
|  | [run] | ||||||
|  | branch = True | ||||||
							
								
								
									
										3
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -3,3 +3,6 @@ | |||||||
| .tox | .tox | ||||||
| .cache | .cache | ||||||
| *.egg-info | *.egg-info | ||||||
|  | /.project | ||||||
|  | /.pydevproject | ||||||
|  | /.coverage | ||||||
|  | |||||||
| @ -1,10 +1,17 @@ | |||||||
| language: python | language: python | ||||||
|  | 
 | ||||||
| python: | python: | ||||||
|   - 2.7 |   - 2.7 | ||||||
|   - 3.4 |   - 3.4 | ||||||
|   - 3.5 |   - 3.5 | ||||||
| install: pip install tox-travis |    | ||||||
|  | install: pip install tox-travis codecov | ||||||
|  | 
 | ||||||
| script: tox | script: tox | ||||||
|  | 
 | ||||||
|  | after_success: | ||||||
|  |   - codecov | ||||||
|  | 
 | ||||||
| matrix: | matrix: | ||||||
|   allow_failures: |   allow_failures: | ||||||
|     - python: 2.7 |     - python: 2.7 | ||||||
|  | |||||||
							
								
								
									
										3
									
								
								tox.ini
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								tox.ini
									
									
									
									
									
								
							| @ -4,12 +4,13 @@ envlist = py34,py35 | |||||||
| [testenv] | [testenv] | ||||||
| deps= | deps= | ||||||
|   pytest |   pytest | ||||||
|  |   pytest-cov | ||||||
|   pylama |   pylama | ||||||
|   pytest-asyncio |   pytest-asyncio | ||||||
|   pytest-catchlog |   pytest-catchlog | ||||||
|   pytest-mock |   pytest-mock | ||||||
| commands= | commands= | ||||||
|   py.test test {posargs} |   py.test --cov=dsmr_parser test {posargs} | ||||||
|   pylama dsmr_parser test |   pylama dsmr_parser test | ||||||
| 
 | 
 | ||||||
| [pylama:pylint] | [pylama:pylint] | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user