This repository has been archived by the owner on Apr 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 105
/
.travis.yml
63 lines (59 loc) · 1.86 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
62
63
sudo: required
services:
- docker
env:
global:
- DOCKER_COMPOSE_VERSION=1.8.0
matrix:
- AMQ_VERSION=5.12.1
- AMQ_VERSION=5.12.2
- AMQ_VERSION=5.13.0
- AMQ_VERSION=5.13.1
- AMQ_VERSION=5.13.2
- AMQ_VERSION=5.13.3
- AMQ_VERSION=5.13.4
- AMQ_VERSION=5.14.0
- AMQ_VERSION=5.14.0-alpine
- AMQ_VERSION=5.14.1
- AMQ_VERSION=5.14.1-alpine
- AMQ_VERSION=5.14.2
- AMQ_VERSION=5.14.2-alpine
- AMQ_VERSION=5.14.3
- AMQ_VERSION=5.14.3-alpine
- AMQ_VERSION=5.14.4
- AMQ_VERSION=5.14.4-alpine
- AMQ_VERSION=5.14.5
- AMQ_VERSION=5.14.5-alpine
- AMQ_VERSION=5.15.2
- AMQ_VERSION=5.15.2-alpine
- AMQ_VERSION=5.15.3
- AMQ_VERSION=5.15.3-alpine
- AMQ_VERSION=5.15.4
- AMQ_VERSION=5.15.4-alpine
- AMQ_VERSION=5.15.5
- AMQ_VERSION=5.15.5-alpine
- AMQ_VERSION=5.15.6
- AMQ_VERSION=5.15.6-alpine
- AMQ_VERSION=5.15.9
- AMQ_VERSION=5.15.9-alpine
before_install:
# upgrade docker-compose
- sudo rm -rf /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
- docker-compose version
script:
- docker-compose build
- docker-compose up -d
- docker-compose ps
- docker-compose ps | grep Up
- docker-compose ps | grep "1883/tcp"
- docker-compose ps | grep "5672/tcp"
- docker-compose ps | grep "61613/tcp"
- docker-compose ps | grep "61614/tcp"
- docker-compose ps | grep "61616/tcp"
- docker-compose ps | grep "8161->8161"
# wait until ActiveMQ is available
- wget --retry-connrefused --waitretry=5 --read-timeout=20 --timeout=15 -t 10 -O /dev/null http://admin:admin@localhost:8161/admin/
# do additional tests