Skip to content

Commit

Permalink
Integrate appveyor
Browse files Browse the repository at this point in the history
  • Loading branch information
lazka committed Nov 4, 2017
1 parent f2ad3c8 commit ac0f057
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
environment:
matrix:
- MSYS2_ARCH: i686
MSYSTEM: MINGW32

build_script:
- set PATH=C:\msys64\%MSYSTEM%\bin;C:\msys64\usr\bin;%PATH%
- set CHERE_INVOKING=yes
- bash -lc "pacman --noconfirm -Suy"
- bash -lc "bash .appveyor/msys2.sh"

deploy: off
34 changes: 34 additions & 0 deletions .appveyor/msys2.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
#!/bin/bash

set -e

export MSYS2_FC_CACHE_SKIP=1

pacman --noconfirm -Suy

pacman --noconfirm -S --needed \
git \
intltool \
mingw-w64-$MSYS2_ARCH-gdk-pixbuf2 \
mingw-w64-$MSYS2_ARCH-librsvg \
mingw-w64-$MSYS2_ARCH-gtk3 \
mingw-w64-$MSYS2_ARCH-libsoup \
mingw-w64-$MSYS2_ARCH-gstreamer \
mingw-w64-$MSYS2_ARCH-gst-plugins-base \
mingw-w64-$MSYS2_ARCH-gst-plugins-good \
mingw-w64-$MSYS2_ARCH-gst-plugins-bad \
mingw-w64-$MSYS2_ARCH-gst-libav \
mingw-w64-$MSYS2_ARCH-gst-plugins-ugly \
mingw-w64-$MSYS2_ARCH-python3 \
mingw-w64-$MSYS2_ARCH-python3-gobject \
mingw-w64-$MSYS2_ARCH-python3-cairo \
mingw-w64-$MSYS2_ARCH-python3-pip \
mingw-w64-$MSYS2_ARCH-python3-pytest \
mingw-w64-$MSYS2_ARCH-python3-certifi \
mingw-w64-$MSYS2_ARCH-python3-coverage

pip3 install feedparser musicbrainzngs mutagen pycodestyle pyflakes codecov

cd quodlibet
python3 -R -bb -m coverage run --branch setup.py test
python3 -m codecov
5 changes: 4 additions & 1 deletion quodlibet/README
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,8 @@ https://quodlibet.readthedocs.org/en/latest/development/overview.html
.. image:: https://circleci.com/gh/quodlibet/quodlibet.svg?style=shield
:target: https://circleci.com/gh/quodlibet/quodlibet

.. image:: https://ci.appveyor.com/api/projects/status/clchwo186004pk0f/branch/master?svg=true
:target: https://ci.appveyor.com/project/lazka/quodlibet/branch/master

.. image:: https://codecov.io/gh/quodlibet/quodlibet/branch/master/graph/badge.svg
:target: https://codecov.io/gh/quodlibet/quodlibet
:target: https://codecov.io/gh/quodlibet/quodlibet

0 comments on commit ac0f057

Please sign in to comment.