mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-04-29 10:10:19 +00:00
This patch installs coverage 3.7 instead of latest coverage 4.0 on Travis before a build. Coverage 4.0 does not support Python 3.2. Due to need for system-installed, python-dependency packages and due to Travis infrastructure using Ubuntu 12.04, we can only build on Python 3.2 in Travis.
32 lines
603 B
YAML
32 lines
603 B
YAML
# Travis-CI configuration file for Plinth
|
|
|
|
language: python
|
|
python:
|
|
- "3.2"
|
|
|
|
# Debian packages required
|
|
before_install:
|
|
- sudo apt-get update -qq
|
|
- sudo apt-get install python3-dbus python3-gi gir1.2-packagekitglib-1.0
|
|
|
|
virtualenv:
|
|
system_site_packages: true
|
|
|
|
# Command to install dependencies
|
|
install:
|
|
- pip install coverage==3.7
|
|
- pip install -r requirements.txt
|
|
|
|
# Command to run tests
|
|
script: python3 setup.py test
|
|
|
|
notifications:
|
|
email:
|
|
on_success: change
|
|
on_failure: always
|
|
irc:
|
|
channels:
|
|
- "irc.oftc.net#freedombox"
|
|
on_success: always
|
|
on_failure: always
|