mirror of
https://github.com/KevinMidboe/spotify-downloader.git
synced 2025-10-29 18:00:15 +00:00
* Monkeypatch fetch user and use pytest.tempdir * Cover spotify_tools.grab_album() * Cover avconv conversion * Cover grab_single() * Reduce code repetition * Move grab_playlist() to spotify_tools.py * Move Spotify specific functions to spotify_tools.py * Refactoring * Return track list from write_tracks() * Fix tests * Cover more cases in generate_youtube_url() * Test for unavailable audio streams * Test for filename without spaces * handle.py 100% coverage * Improve config tests * Speed up tests * Install avconv and libfdk-aac * Some cleaning * FFmpeg with libfdk-aac, libopus * Some refactoring * Convert tmpdir to string * Cover YouTube title when downloading from list * Explicitly cover some internals.py functions
42 lines
818 B
YAML
42 lines
818 B
YAML
dist: trusty
|
|
language: python
|
|
python:
|
|
- "3.4"
|
|
- "3.5"
|
|
- "3.6"
|
|
before_install:
|
|
- 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
|
|
- libfdk-aac-dev
|
|
- libopus-dev
|
|
- pkg-config
|
|
- texinfo
|
|
- zlib1g-dev
|
|
- yasm
|
|
- nasm
|
|
- libmp3lame-dev
|
|
- libav-tools
|
|
install:
|
|
- pip install -r requirements.txt
|
|
- tinydownload 22684734659253158385 -o ~/bin/ffmpeg
|
|
- chmod 755 ~/bin/ffmpeg
|
|
script: python -m pytest test --cov=.
|
|
after_success: codecov
|