Skip to content

Commit 334fd92

Browse files
committed
Fix Travis to build the proper variants
1 parent 452ee71 commit 334fd92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ install:
1717
before_script:
1818
- env | sort
1919
- cd "$VERSION"
20-
- image="elasticsearch:$VERSION"
20+
- image="elasticsearch:${VERSION}${VARIANT:+-$VARIANT}"
2121

2222
script:
23-
- docker build -t "$image" .
23+
- docker build -t "$image" "${VARIANT:-.}"
2424
- ~/official-images/test/run.sh "$image"
2525

2626
after_script:

0 commit comments

Comments
 (0)