Skip to content

Commit

Permalink
test conditional stages
Browse files Browse the repository at this point in the history
  • Loading branch information
madoci committed Apr 20, 2020
1 parent df17056 commit ff1ec33
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ cache:
directories:
- "$HOME/.m2"

stages:
- name: deploy
if: branch = master

jobs:
include:
- stage: test
Expand All @@ -20,7 +24,6 @@ jobs:
file: target/*.jar
skip_cleanup: true
on:
branch: master
tags: true

after-success:
Expand Down

0 comments on commit ff1ec33

Please sign in to comment.