mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
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.
35 lines
752 B
YAML
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
|