nginx-proxy-auto-docker/.travis.yml
adamus1red 1dc9c0dbc6
Update .travis.yml (#7)
* Update .travis.yml

* Update .travis.yml
2020-06-16 16:45:56 +01:00

31 lines
817 B
YAML

os: linux
dist: bionic
sudo: required
env:
jobs:
- TEST_TARGET: test-debian
- TEST_TARGET: test-alpine
- TEST_TARGET: test-mainline
- TEST_TARGET: test-mainline-alpine
before_install:
- sudo apt-get -y remove docker docker-engine docker-ce
- 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
- docker version
- docker info
# prepare docker test requirements
- make update-dependencies
script:
- make $TEST_TARGET
jobs:
include:
- stage: deploy
if: branch = master && NOT type = pull_request
script:
- curl -X 'POST' ${DOCKER_CALLBACK_TRIGGER} > /dev/null 2>&1