Add Python 3 and PyPy to .travis.yml

This commit is contained in:
Ben Firshman 2014-01-06 13:06:00 +00:00
commit 0760ea1b00
2 changed files with 19 additions and 10 deletions

16
script/travis-install Normal file
View file

@ -0,0 +1,16 @@
#!/bin/bash
sudo sh -c "wget -qO- https://get.docker.io/gpg | apt-key add -"
sudo sh -c "echo deb http://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list"
sudo apt-get update
echo exit 101 | sudo tee /usr/sbin/policy-rc.d
sudo chmod +x /usr/sbin/policy-rc.d
sudo apt-get install -qy slirp lxc lxc-docker=0.7.3
git clone git://github.com/jpetazzo/sekexe
python setup.py install
pip install -r requirements-dev.txt
if [[ $TRAVIS_PYTHON_VERSION == "2.6" ]]; then
pip install unittest2
fi