Skip to content

Commit

Permalink
Enable docker on Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
noirbizarre committed Apr 24, 2016
1 parent 2141861 commit b29503d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,29 @@
language: python
sudo: required
services:
- docker
python:
- 2.7
- 3.3
- 3.4
- 3.5
- pypy

env:
global:
- DOCKER_VERSION=1.10.2-0~trusty
- DOCKER_COMPOSE_VERSION=1.6.0

before_install:
# upgrade docker-engine to specific version
- sudo apt-get -o Dpkg::Options::="--force-confnew" install -y docker-engine=${DOCKER_VERSION}

# reinstall docker-compose at specific version
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin

install:
- pip install -e .[test]
- pip install coverage coveralls
Expand Down

0 comments on commit b29503d

Please sign in to comment.