forked from qoricode/activemq-artemis-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (36 loc) · 1.05 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
language: bash
services: docker
env:
- VERSION=2.17.0
- VERSION=2.18.0
- VERSION=2.19.0
- VERSION=2.20.0
- VERSION=2.21.0
- VERSION=2.22.0
- VERSION=2.23.0
- VERSION=2.23.1
- VERSION=2.24.0
- VERSION=2.25.0
- VERSION=2.26.0
- VERSION=2.27.0
- VERSION=2.27.1
- VERSION=2.28.0
before_install:
- curl -L https://goss.rocks/install | sudo sh
install:
- git clone https://github.com/qoricode/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
)