2015-07-01 00:32:38 +02:00
|
|
|
language: python
|
2015-07-01 02:18:38 +02:00
|
|
|
# GExiv2 is not pip-installable and Travis use Ubuntu Precise, so only
|
|
|
|
# Python 2.7 and 3.2 can use system site packages.
|
2015-07-01 00:32:38 +02:00
|
|
|
python:
|
2015-07-01 02:18:38 +02:00
|
|
|
- "2.7_with_system_site_packages"
|
|
|
|
- "3.2_with_system_site_packages"
|
2015-07-01 00:32:38 +02:00
|
|
|
before_install:
|
|
|
|
- sudo apt-get update
|
2015-07-01 02:12:42 +02:00
|
|
|
- sudo apt-get install -y libgexiv2-1 python-gi python3-gi
|
2015-07-01 00:32:38 +02:00
|
|
|
install:
|
2015-07-01 01:08:39 +02:00
|
|
|
- pip install coverage pillow nose six
|
2015-07-01 00:32:38 +02:00
|
|
|
- pip install .
|
|
|
|
script: nosetests
|
2015-07-01 01:44:10 +02:00
|
|
|
cache:
|
|
|
|
- apt
|
|
|
|
- directories:
|
|
|
|
- $HOME/.cache/pip
|