forked from metabrainz/picard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (33 loc) · 886 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
language: python
python:
# Picard currently supports Python >=2.6 and <3
# However, since apt-get only installs PyQt4 for Py2.7, we only test against that :/
- "2.7"
virtualenv:
system_site_packages: true
cache:
- apt
- $HOME/.pip/cache
env:
global:
- PIP_INSTALL="pip install --download-cache='$HOME/.pip/cache'"
matrix:
- DISCID=""
- DISCID="$PIP_INSTALL python-libdiscid"
- DISCID="$PIP_INSTALL discid"
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq python-qt4
- sudo apt-get install -qq libdiscid0 libdiscid0-dev
install:
# Install dependencies
- $PIP_INSTALL 'Mutagen>=1.20'
- $DISCID
# Set up Picard
- python setup.py build_ext -i
- python setup.py build_locales -i
# Run the tests!
script: "python setup.py test"
# Tell people that tests were run
notifications:
irc: "chat.freenode.net#musicbrainz-devel"