FreedomBox/.travis.yml
Sunil Mohan Adapa 26e312b3f3 Require older version of coverage for Travis build
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.
2015-10-13 20:23:46 +05:30

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