From dc5ebc99c1c78ce9cd52985ae7c9c0da34fec4c3 Mon Sep 17 00:00:00 2001 From: Abhas Bhattacharya Date: Wed, 23 Dec 2015 12:19:03 +0530 Subject: [PATCH] In travis and requirements.txt, add redis --- .travis.yml | 10 ++++++++++ requirements.txt | 1 + 2 files changed, 11 insertions(+) diff --git a/.travis.yml b/.travis.yml index ffded50..29c5c15 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,5 @@ language: python +sudo: required python: - "2.6" - "2.7" @@ -9,6 +10,15 @@ python: - "3.5-dev" # 3.5 development branch - "nightly" # currently points to 3.6-dev # command to install dependencies +before_install: + - sudo apt-get install build-essential + - sudo apt-get install tcl8.5 + - wget http://download.redis.io/releases/redis-2.8.3.tar.gz + - tar -xvzf redis-2.8.3.tar.gz + - cd redis-2.8.3 + - make + - sudo make install + # - apt-get install redis-server install: - "pip install -r requirements.txt" - "pip install -e ." diff --git a/requirements.txt b/requirements.txt index 8322780..bcf7470 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ +redis pytest python-dateutil