Add Travis CI

This commit is contained in:
Ben Firshman 2014-01-06 10:12:37 +00:00
commit 17b9cc430c
2 changed files with 31 additions and 3 deletions

View file

@ -2,10 +2,20 @@ language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
install:
- 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 nose==1.3.0
script: nosetests
script:
- pwd
- env
- sekexe/run "`pwd`/script/travis $TRAVIS_PYTHON_VERSION"