FreedomBox/.travis.yml
Sunil Mohan Adapa f19ad2b2cb
Bump required version of Django to 1.10
Since Debian testing now has Django 1.10.  There is no necessity to
support older versions of Django.  The fix for showing menu items does
depend on a small feature that is introduced in Django 1.10:
django.setup(set_prefix=True) and FORCE_SCRIPT_NAME.
2016-08-11 18:02:41 -04:00

35 lines
752 B
YAML

# Travis-CI configuration file for Plinth
dist: trusty
sudo: required
language: generic
env:
- DJANGO_VERSION=">=1.10.0"
# Debian packages required
before_install:
- sudo apt-get update -qq
- sudo apt-get -y install augeas-tools gir1.2-packagekitglib-1.0 python3-dev python3-gi
# Command to install dependencies
install:
- virtualenv --python=python3 --system-site-packages _venv
- source _venv/bin/activate
- pip install Django$DJANGO_VERSION
- 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