2016-04-04 23:01:47 +00:00
|
|
|
sudo: required
|
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
|
|
|
env:
|
|
|
|
global:
|
2016-12-05 14:21:39 +00:00
|
|
|
- DOCKER_VERSION=1.12.3-0~trusty
|
2016-04-04 23:01:47 +00:00
|
|
|
|
|
|
|
before_install:
|
|
|
|
# list docker-engine versions
|
|
|
|
- apt-cache madison docker-engine
|
|
|
|
# upgrade docker-engine to specific version
|
2016-12-05 14:21:39 +00:00
|
|
|
- sudo apt-get -o Dpkg::Options::="--force-confnew" install -y --allow-downgrades docker-engine=${DOCKER_VERSION}
|
2016-04-04 23:01:47 +00:00
|
|
|
- docker version
|
|
|
|
- docker info
|
|
|
|
- sudo add-apt-repository ppa:duggan/bats --yes
|
|
|
|
- sudo apt-get update -qq
|
|
|
|
- sudo apt-get install -qq bats
|
|
|
|
- make update-dependencies
|
|
|
|
|
|
|
|
script:
|
|
|
|
- make test
|