mirror of https://github.com/docker/compose.git
Add Python 3 and PyPy to .travis.yml
This commit is contained in:
parent
31f0907732
commit
0760ea1b00
13
.travis.yml
13
.travis.yml
|
@ -2,17 +2,10 @@ language: python
|
||||||
python:
|
python:
|
||||||
- "2.6"
|
- "2.6"
|
||||||
- "2.7"
|
- "2.7"
|
||||||
|
- "3.2"
|
||||||
|
- "3.3"
|
||||||
|
|
||||||
install:
|
install: script/travis-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 -r requirements-dev.txt
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- pwd
|
- pwd
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue