Permalink
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (24 sloc) 662 Bytes
language: python
sudo: required
services:
- docker
branches:
# Restrict push builds to only master
only:
- master
env:
- DOCKER_COMPOSE_VERSION=1.22.0
before_install:
# Fail immediately on any error
- set -e
# See https://docs.travis-ci.com/user/docker/
- 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:
# Build containers
# Use BUILD_MODE=pull if you prefer pulling existing images
- make build-tests
script:
- make tests