Skip to content
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.

Commit

Permalink
Add test on debian9 docker to Travis
Browse files Browse the repository at this point in the history
Make Travis test both with cpascual/taurus-test:latest (debian stable) and
cpascual/taurus-test:debian9 (debian stretch)
  • Loading branch information
cpascual committed Jan 20, 2017
1 parent ae64bdb commit 1ab69c7
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,27 @@ language: python

sudo: required

services:
- docker
matrix:
include:
- python: 2.7
os: linux
sudo: required
services:
- docker
env:
- DOCKER_IMG=cpascual/taurus-test:latest

python:
- "2.7"
- python: 2.7
os: linux
sudo: required
services:
- docker
env:
- DOCKER_IMG=cpascual/taurus-test:debian9

before_install:
# run cpascual/taurus-test docker container (Debian8 with taurus-deps and xvfb installed)
- docker pull cpascual/taurus-test
- docker run -d --name=taurus-test -h taurus-test --volume=`pwd`:/taurus cpascual/taurus-test
- docker run -d --name=taurus-test -h taurus-test --volume=`pwd`:/taurus $DOCKER_IMG
- sleep 10

script:
Expand Down

0 comments on commit 1ab69c7

Please sign in to comment.