FreedomBox/.travis.yml
Sunil Mohan Adapa 74c4791440 Run tests on multiple Django versions
- 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.
2015-12-05 09:33:23 -05:00

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