
Fixes #315. This PR aims to address the [recent changes](https://www.blog.google/products/photos/simplifying-google-photos-and-google-drive/) in Google Photos + Google Drive where syncing between the two is no longer supported. It works by uploading photos as part of the import process to add a copy of every photo in your library to Google Photos. Google Drive is not required for this plugin to work. This plugin lets you have all your photos in Google Photos without relying on Google Drive. You can use another cloud storage service like iCloud or Dropbox or no cloud storage at all. - [x] Add tests for `after()` plugin methods. - [x] Add support for storage/async support. - [x] Include plugins into code coverage. - [x] Sweep code and clean up and add comments.
31 lines
1003 B
YAML
31 lines
1003 B
YAML
language: python
|
|
dist: trusty
|
|
python:
|
|
- "2.7"
|
|
- "3.4"
|
|
virtualenv:
|
|
system_site_packages: true
|
|
before_install:
|
|
- "sudo apt-get update -qq"
|
|
- "sudo apt-get install python-dev python-pip -y"
|
|
install:
|
|
- "pip install -r elodie/tests/requirements.txt"
|
|
- "pip install -r elodie/plugins/googlephotos/requirements.txt"
|
|
- "pip install coveralls"
|
|
before_script:
|
|
- "mkdir ~/.elodie"
|
|
- "sed 's/your-api-key-goes-here/x8wQLqGhW7qK3sFpjYtVTogVtoMK0S8s/g' config.ini-sample > ~/.elodie/config.ini"
|
|
- "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"
|
|
script:
|
|
- "./elodie/tests/run_tests.py -w elodie/tests --with-coverage --cover-package=elodie"
|