mirror of
				https://github.com/KevinMidboe/spotify-downloader.git
				synced 2025-10-29 18:00:15 +00:00 
			
		
		
		
	Code coverage integration (#216)
* Cleaner travis.yml? * Do we really need wget * pytest --cov * Add codecov badge
This commit is contained in:
		
							
								
								
									
										34
									
								
								.travis.yml
									
									
									
									
									
								
							
							
						
						
									
										34
									
								
								.travis.yml
									
									
									
									
									
								
							| @@ -4,12 +4,36 @@ python: | ||||
|   - "3.4" | ||||
|   - "3.5" | ||||
|   - "3.6" | ||||
| install: | ||||
| before_install: | ||||
|   - sudo apt-get -qq update | ||||
|   - sudo apt-get -y install autoconf automake build-essential libass-dev libfreetype6-dev libtheora-dev libtool libva-dev libvdpau-dev libvorbis-dev libxcb1-dev libxcb-shm0-dev libxcb-xfixes0-dev pkg-config texinfo wget zlib1g-dev | ||||
|   - sudo apt-get -y install yasm nasm libmp3lame-dev | ||||
|   - pip install -r requirements.txt | ||||
|   - pip install tinydownload | ||||
|   - pip install codecov | ||||
|   - pip install pytest-cov | ||||
| addons: | ||||
|   apt: | ||||
|     packages: | ||||
|       - automake | ||||
|       - autoconf | ||||
|       - build-essential | ||||
|       - libass-dev | ||||
|       - libfreetype6-dev | ||||
|       - libtheora-dev | ||||
|       - libtool | ||||
|       - libva-dev | ||||
|       - libvdpau-dev | ||||
|       - libvorbis-dev | ||||
|       - libxcb1-dev | ||||
|       - libxcb-shm0-dev | ||||
|       - libxcb-xfixes0-dev | ||||
|       - pkg-config | ||||
|       - texinfo | ||||
|       - zlib1g-dev | ||||
|       - yasm | ||||
|       - nasm | ||||
|       - libmp3lame-dev | ||||
| install: | ||||
|   - pip install -r requirements.txt | ||||
|   - tinydownload 05861434675432854607 -o ~/bin/ffmpeg | ||||
|   - chmod 755 ~/bin/ffmpeg | ||||
| script: python -m pytest test | ||||
| script: python -m pytest test --cov=. | ||||
| after_success: codecov | ||||
|   | ||||
| @@ -1,6 +1,7 @@ | ||||
| # Spotify-Downloader | ||||
|  | ||||
| [](https://travis-ci.org/ritiek/spotify-downloader) | ||||
| [](https://codecov.io/gh/ritiek/spotify-downloader) | ||||
| [](https://hub.docker.com/r/ritiek/spotify-downloader) | ||||
|  | ||||
| - Downloads songs from YouTube in an MP3 format by using Spotify's HTTP link. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user