ordigi/.travis.yml

31 lines
1003 B
YAML
Raw Normal View History

2015-12-08 08:27:12 +01:00
language: python
dist: trusty
2015-12-08 08:27:12 +01:00
python:
- "2.7"
2016-03-12 20:09:28 +01:00
- "3.4"
2015-12-08 08:27:12 +01:00
virtualenv:
system_site_packages: true
before_install:
- "sudo apt-get update -qq"
- "sudo apt-get install python-dev python-pip -y"
2015-12-08 08:27:12 +01:00
install:
2016-03-12 20:09:28 +01:00
- "pip install -r elodie/tests/requirements.txt"
- "pip install -r elodie/plugins/googlephotos/requirements.txt"
2016-03-12 20:09:28 +01:00
- "pip install coveralls"
before_script:
- "mkdir ~/.elodie"
- "sed 's/your-api-key-goes-here/x8wQLqGhW7qK3sFpjYtVTogVtoMK0S8s/g' config.ini-sample > ~/.elodie/config.ini"
2016-09-14 05:35:28 +02:00
- "sed -i.bak 's/debug = False/debug = True/g' elodie/constants.py"
# Get exiftool 10.20 installed
- "export ELODIE_DIR=${PWD}"
- "wget http://www.sno.phy.queensu.ca/~phil/exiftool/Image-ExifTool-11.50.tar.gz"
- "gzip -dc Image-ExifTool-11.50.tar.gz | tar -xf -"
- "cd Image-ExifTool-11.50"
- "perl Makefile.PL"
- "sudo make install"
- "cd ${ELODIE_DIR}"
after_success:
- "coveralls"
2016-03-12 20:09:28 +01:00
script:
- "./elodie/tests/run_tests.py -w elodie/tests --with-coverage --cover-package=elodie"