ordigi/.travis.yml

30 lines
994 B
YAML
Raw Permalink Normal View History

2015-12-08 08:27:12 +01:00
language: python
dist: xenial
2015-12-08 08:27:12 +01:00
python:
- "3.8"
2015-12-08 08:27:12 +01:00
virtualenv:
system_site_packages: false
2015-12-08 08:27:12 +01:00
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"