2017-01-07 19:57:19 +00:00
|
|
|
dist: trusty
|
2016-04-04 23:01:47 +00:00
|
|
|
sudo: required
|
|
|
|
|
|
|
|
env:
|
2017-02-16 23:10:21 +00:00
|
|
|
matrix:
|
|
|
|
- TEST_TARGET: test-debian
|
|
|
|
- TEST_TARGET: test-alpine
|
2016-04-04 23:01:47 +00:00
|
|
|
|
|
|
|
before_install:
|
2018-04-22 20:43:00 +00:00
|
|
|
- sudo apt-get -y remove docker docker-engine docker-ce
|
|
|
|
- sudo rm /etc/apt/sources.list.d/docker.list
|
2017-06-22 17:36:40 +00:00
|
|
|
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
|
|
|
|
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
|
|
|
|
- sudo apt-get update
|
|
|
|
- sudo apt-get -y install docker-ce
|
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
|