mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
- Run tests on Django 1.7, 1.8 and 1.9. - Import of a test case fails on 3.3 and this version of Python is not available on Debian anymore, not even Jessie.
36 lines
727 B
YAML
36 lines
727 B
YAML
# Travis-CI configuration file for Plinth
|
|
|
|
language: python
|
|
python:
|
|
- "3.4"
|
|
|
|
env:
|
|
- DJANGO_VERSION=">=1.7.0,<1.8.0"
|
|
- DJANGO_VERSION=">=1.8.0,<1.9.0"
|
|
- DJANGO_VERSION=">=1.9.0"
|
|
|
|
# Debian packages required
|
|
before_install:
|
|
- sudo apt-get update -qq
|
|
- sudo apt-get install augeas-tools gir1.2-packagekitglib-1.0
|
|
|
|
# Command to install dependencies
|
|
install:
|
|
- pip install Django$DJANGO_VERSION
|
|
- pip install coverage==3.7
|
|
- pip install "pgi>=0.0.10.1"
|
|
- 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
|