Use non-sudo apt in travis

This commit is contained in:
2015-12-24 12:53:02 +05:30
parent 9d3283ce5e
commit 1bdc6de0ed
+7 -3
View File
@@ -1,5 +1,10 @@
language: python
sudo: required
addons:
apt:
packages:
- redis-server
python:
- "2.6"
- "2.7"
@@ -10,8 +15,7 @@ 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 redis-server
install:
- "pip install -r requirements.txt"
- "pip install -e ."