1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2024-11-21 19:36:30 +00:00
nginx-proxy/.travis.yml

36 lines
829 B
YAML
Raw Normal View History

dist: trusty
2016-04-04 23:01:47 +00:00
sudo: required
services:
- docker
env:
global:
- DOCKER_VERSION=1.13.1-0~ubuntu-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
- 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
# install bats
2016-04-04 23:01:47 +00:00
- sudo add-apt-repository ppa:duggan/bats --yes
- sudo apt-get update -qq
- sudo apt-get install -qq bats
# prepare docker images
2016-04-04 23:01:47 +00:00
- make update-dependencies
matrix:
include:
- env: TEST_ID=test-debian
- env: TEST_ID=test-alpine
- env: TEST_ID=test2-debian
- env: TEST_ID=test2-alpine
allow_failures:
- env: TEST_ID=test2-debian
- env: TEST_ID=test2-alpine
2016-04-04 23:01:47 +00:00
script:
- make $TEST_ID