2015-12-08 08:27:12 +01:00
|
|
|
language: python
|
2016-06-21 20:19:40 +02:00
|
|
|
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"
|
2016-06-21 20:19:40 +02:00
|
|
|
- "sudo apt-get install python-dev python-pip libimage-exiftool-perl -y"
|
2015-12-08 08:27:12 +01:00
|
|
|
install:
|
2016-01-18 08:58:27 +01:00
|
|
|
- "sudo pip install -r elodie/tests/requirements.txt"
|
2016-04-12 09:52:04 +02:00
|
|
|
- "sudo pip install coveralls"
|
2015-12-08 08:27:12 +01:00
|
|
|
# command to run tests
|
2015-12-09 08:40:01 +01:00
|
|
|
# test mapquest key
|
|
|
|
before_script:
|
|
|
|
- "mkdir ~/.elodie"
|
|
|
|
- "sed 's/your-api-key-goes-here/x8wQLqGhW7qK3sFpjYtVTogVtoMK0S8s/g' config.ini-sample > ~/.elodie/config.ini"
|
2016-04-12 09:52:04 +02:00
|
|
|
after_success:
|
|
|
|
- "coveralls"
|
|
|
|
script:
|
|
|
|
- "nosetests --with-coverage --cover-package=elodie -w elodie/tests"
|