2014-01-06 14:06:00 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
2014-01-11 15:53:07 +01:00
|
|
|
set -ex
|
2014-01-11 15:13:38 +01:00
|
|
|
|
2014-01-06 14:06:00 +01:00
|
|
|
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
|
2014-02-07 19:35:18 +01:00
|
|
|
sudo apt-get install -qy slirp lxc lxc-docker-$DOCKER_VERSION
|
2014-01-06 14:06:00 +01:00
|
|
|
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
|
|
|
|
|