From 35362017842898ddfd48f945045f6513afbbf4a3 Mon Sep 17 00:00:00 2001 From: Abhay Rana Date: Thu, 5 Dec 2013 20:14:45 +0530 Subject: [PATCH] Adds travis support --- .travis.yml | 8 ++++++++ README.md | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..64be50c --- /dev/null +++ b/.travis.yml @@ -0,0 +1,8 @@ +language: python +python: + - "2.7" +# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors +install: + - pip install requests +# command to run tests, e.g. python setup.py test +script: python hackertray/hn_test.py \ No newline at end of file diff --git a/README.md b/README.md index 5e04fbe..95d6390 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ HackerTray [![HackerTray on crate.io](https://pypip.in/v/hackertray/badge.png)](https://crate.io/packages/hackertray/) [![HackerTray on PyPi](https://pypip.in/d/hackertray/badge.png)](https://pypi.python.org/pypi/hackertray/) +[![Build Status](https://travis-ci.org/captn3m0/hackertray.png?branch=master)](https://travis-ci.org/captn3m0/hackertray) HackerTray is a simple [Hacker News](https://news.ycombinator.com/) Linux application that lets you view top HN stories in your System Tray. It relies on appindicator, so @@ -72,4 +73,4 @@ Support this project and [others by captn3m0][gittip] via [gittip][]. [gittip]: https://www.gittip.com/captn3m0/ ##Licence -Licenced under the MIT Licence \ No newline at end of file +Licenced under the MIT Licence