ordigi/.travis.yml

22 lines
612 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"
virtualenv:
system_site_packages: true
before_install:
- "sudo apt-get update -qq"
- "sudo apt-get install python-dev python-pip libimage-exiftool-perl -y"
2015-12-08 08:27:12 +01:00
install:
- "sudo pip install -r elodie/tests/requirements.txt"
- "sudo pip install coveralls"
2015-12-08 08:27:12 +01:00
# 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"