Skip to content

Commit

Permalink
Configure build stages for travis-ci build
Browse files Browse the repository at this point in the history
  • Loading branch information
thrau committed Aug 21, 2020
1 parent 94d59ce commit bb1476f
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ language: java

jobs:
include:
- os: linux
- stage: test
# test jobs
os: linux
dist: trusty
jdk: openjdk7
- os: linux
Expand All @@ -17,10 +19,14 @@ jobs:
- os: linux
dist: xenial
jdk: openjdk11

after_success:
- mvn clean cobertura:cobertura coveralls:report
- mvn clean deploy -DskipTests --settings .travis-settings.xml
# deploy job (re-run jdk7 build)
- stage: deploy
os: linux
dist: trusty
jdk: openjdk7
after_success:
- mvn clean cobertura:cobertura coveralls:report
- mvn clean deploy -DskipTests --settings .travis-settings.xml

env:
global:
Expand Down

0 comments on commit bb1476f

Please sign in to comment.