2017-01-07 19:57:19 +00:00
|
|
|
dist: trusty
|
2016-04-04 23:01:47 +00:00
|
|
|
sudo: required
|
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
|
|
|
env:
|
2017-02-16 23:10:21 +00:00
|
|
|
global:
|
|
|
|
- DOCKER_VERSION=1.13.1-0~ubuntu-trusty
|
|
|
|
matrix:
|
|
|
|
- TEST_TARGET: test-debian
|
|
|
|
- TEST_TARGET: test-alpine
|
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:33:44 +00:00
|
|
|
- sudo apt-get -o Dpkg::Options::="--force-confnew" install -y --force-yes docker-engine=${DOCKER_VERSION}
|
2016-04-04 23:01:47 +00:00
|
|
|
- docker version
|
|
|
|
- docker info
|
2017-02-16 23:10:21 +00:00
|
|
|
# prepare docker test requirements
|
2016-04-04 23:01:47 +00:00
|
|
|
- make update-dependencies
|
|
|
|
|
|
|
|
script:
|
2017-02-16 23:10:21 +00:00
|
|
|
- make $TEST_TARGET
|