Skip to content

Commit c641240

Browse files
author
Vladimir Kotal
committed
add build stage for Docker image
1 parent c0e5616 commit c641240

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,14 @@ jobs:
7777
on:
7878
condition: "$TRAVIS_TAG =~ ^[0-9\\.]+$"
7979
all_branches: true
80+
- stage: docker
81+
name: Docker image build
82+
dist: xenial
83+
jdk: openjdk8
84+
install: true
85+
if: repo = "oracle/opengrok" AND tag IS present
86+
before_script: mvn -DskipTests=true -Dmaven.javadoc.skip=true -B -V package
87+
script: dev/docker.sh
8088
- stage: post_deploy
8189
name: Post deploy
8290
if: repo = "oracle/opengrok" AND tag IS present

0 commit comments

Comments
 (0)