This repository has been archived by the owner on Feb 18, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 182
/
.travis.yml
94 lines (88 loc) · 2.48 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
language: bash
services: docker
env:
- VERSION=1.0.0
- VERSION=1.0.0 VARIANT=alpine
- VERSION=1.1.0
- VERSION=1.1.0 VARIANT=alpine
- VERSION=1.2.0
- VERSION=1.2.0 VARIANT=alpine
- VERSION=1.3.0
- VERSION=1.3.0 VARIANT=alpine
- VERSION=1.4.0
- VERSION=1.4.0 VARIANT=alpine
- VERSION=1.5.0
- VERSION=1.5.0 VARIANT=alpine
- VERSION=1.5.1
- VERSION=1.5.1 VARIANT=alpine
- VERSION=1.5.2
- VERSION=1.5.2 VARIANT=alpine
- VERSION=1.5.3
- VERSION=1.5.3 VARIANT=alpine
- VERSION=1.5.4
- VERSION=1.5.4 VARIANT=alpine
- VERSION=1.5.5
- VERSION=1.5.5 VARIANT=alpine
- VERSION=1.5.6
- VERSION=1.5.6 VARIANT=alpine
- VERSION=2.0.0
- VERSION=2.0.0 VARIANT=alpine
- VERSION=2.1.0
- VERSION=2.1.0 VARIANT=alpine
- VERSION=2.2.0
- VERSION=2.2.0 VARIANT=alpine
- VERSION=2.3.0
- VERSION=2.3.0 VARIANT=alpine
- VERSION=2.4.0
- VERSION=2.4.0 VARIANT=alpine
- VERSION=2.5.0
- VERSION=2.5.0 VARIANT=alpine
- VERSION=2.6.0
- VERSION=2.6.0 VARIANT=alpine
- VERSION=2.6.1
- VERSION=2.6.1 VARIANT=alpine
- VERSION=2.6.2
- VERSION=2.6.2 VARIANT=alpine
- VERSION=2.6.3
- VERSION=2.6.3 VARIANT=alpine
- VERSION=2.7.0
- VERSION=2.7.0 VARIANT=alpine
- VERSION=2.8.0
- VERSION=2.8.0 VARIANT=alpine
- VERSION=2.9.0
- VERSION=2.9.0 VARIANT=alpine
- VERSION=2.10.0
- VERSION=2.10.0 VARIANT=alpine
- VERSION=2.10.1
- VERSION=2.10.1 VARIANT=alpine
- VERSION=2.11.0
- VERSION=2.11.0 VARIANT=alpine
- VERSION=2.12.0
- VERSION=2.12.0 VARIANT=alpine
- VERSION=2.13.0
- VERSION=2.13.0 VARIANT=alpine
- VERSION=2.14.0
- VERSION=2.14.0 VARIANT=alpine
- VERSION=2.15.0
- VERSION=2.15.0 VARIANT=alpine
- VERSION=2.16.0
- VERSION=2.16.0 VARIANT=alpine
before_install:
- curl -L https://goss.rocks/install | sudo sh
install:
- git clone https://github.com/vromero/activemq-artemis-docker.git ~/activemq-artemis-docker
before_script:
- versionTag="${VERSION}${VARIANT:+-${VARIANT}}"
- if [[ $TRAVIS_PULL_REQUEST == "false" ]] && [[ $TRAVIS_BRANCH == "master" ]]; then echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin; fi
script:
- |
(
set -Eeuo pipefail
set -x
travis_retry make $versionTag
echo ---------------------------
echo $TRAVIS_PULL_REQUEST
echo $TRAVIS_BRANCH
echo ---------------------------
if [[ $TRAVIS_PULL_REQUEST == "false" ]] && [[ $TRAVIS_BRANCH == "master" ]]; then travis_retry make push_$versionTag; fi
)