22 lines
612 B
YAML
22 lines
612 B
YAML
language: python
|
|
dist: trusty
|
|
python:
|
|
- "2.7"
|
|
virtualenv:
|
|
system_site_packages: true
|
|
before_install:
|
|
- "sudo apt-get update -qq"
|
|
- "sudo apt-get install python-dev python-pip libimage-exiftool-perl -y"
|
|
install:
|
|
- "sudo pip install -r elodie/tests/requirements.txt"
|
|
- "sudo pip install coveralls"
|
|
# command to run tests
|
|
# test mapquest key
|
|
before_script:
|
|
- "mkdir ~/.elodie"
|
|
- "sed 's/your-api-key-goes-here/x8wQLqGhW7qK3sFpjYtVTogVtoMK0S8s/g' config.ini-sample > ~/.elodie/config.ini"
|
|
after_success:
|
|
- "coveralls"
|
|
script:
|
|
- "nosetests --with-coverage --cover-package=elodie -w elodie/tests"
|