forked from nginx-proxy/acme-companion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
61 lines (52 loc) · 1.25 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
os: linux
dist: trusty
language: shell
addons:
hosts:
- le1.wtf
- le2.wtf
- le3.wtf
env:
global:
- IMAGE=jrcs/letsencrypt-nginx-proxy-companion
- NGINX_CONTAINER_NAME=nginx-proxy
- DOCKER_GEN_CONTAINER_NAME=nginx-proxy-gen
- TEST_DOMAINS=le1.wtf,le2.wtf,le3.wtf
- DOCKER_COMPOSE_VERSION=1.24.0
jobs:
include:
- env: SETUP=2containers
- env: SETUP=3containers
- os: linux
dist: xenial
env: SETUP=2containers
- os: linux
dist: xenial
env: SETUP=3containers
- os: linux
dist: bionic
env: SETUP=2containers
- os: linux
dist: bionic
env: SETUP=3containers
allow_failures:
- dist: bionic
fast_finish: true
before_install:
- test/travis/update-docker-compose.sh
install:
- docker build -t "$IMAGE" .
- docker inspect "$IMAGE"
- docker run --rm "$IMAGE" simp_le --version
- docker run --rm "$IMAGE" simp_le -v --test
- docker images
before_script:
- git clone https://github.com/docker-library/official-images.git official-images
- test/setup/setup-boulder.sh
- test/setup/setup-nginx-proxy.sh
- docker pull nginx:alpine
script:
- official-images/test/run.sh "$IMAGE"
- test/run.sh "$IMAGE"
after_failure:
- test/travis/containers-logs.sh