From 56a085f75ee2171a46cc46163b8f86d42c61cbca Mon Sep 17 00:00:00 2001 From: Jaisen Mathai Date: Mon, 7 Dec 2015 23:27:12 -0800 Subject: [PATCH] gh-22 Add .travis.yml file --- .travis.yml | 12 ++++++++++++ README.md | 2 ++ 2 files changed, 14 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..4c657b5 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,12 @@ +language: python +python: + - "2.7" +virtualenv: + system_site_packages: true +before_install: + - "sudo apt-get update -qq" + - "sudo apt-get install python-dev python-pip python-pyexiv2 -y" +install: + - "sudo pip install docopt LatLon nose requests" +# command to run tests +script: "nosetests elodie/tests/*.py" diff --git a/README.md b/README.md index 0fac8c5..6d80738 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ # Hello, I'm Elodie ~~ *Your Personal EXIF-based Photo Assistant* ~~ +[![Build Status](https://travis-ci.org/jmathai/elodie.svg?branch=master)](https://travis-ci.org/jmathai/elodie) + I work tirelessly to make sure your photos are always sorted and organized so you can focus on more important things. By photos I mean JPEG, DNG, NEF and common video files. You don't love me yet but you will.