Skip to content

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
RadikalJin authored Mar 16, 2021
1 parent 3d9c479 commit 36a7758
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ language: java
jobs:
include:
- if: repo = alfasoftware/astra AND head_repo = alfasoftware/astra AND type = pull_request
name: "Test"
script:
name: "Test"
script:
- git fetch --unshallow --quiet
- mvn clean verify sonar:sonar -Pcoverage -B -U -Dsonar.pullrequest.key=$TRAVIS_PULL_REQUEST -Dsonar.pullrequest.branch=$TRAVIS_PULL_REQUEST_BRANCH -Dsonar.pullrequest.base=$TRAVIS_BRANCH
- if: repo = alfasoftware/astra AND (branch = main OR tag IS present) AND NOT type = pull_request
name: "Deploy"
script:
name: "Deploy"
script:
- echo $GPG_SECRET_KEYS | base64 --decode | $GPG_EXECUTABLE --import
- echo $GPG_OWNERTRUST | base64 --decode | $GPG_EXECUTABLE --import-ownertrust
- mvn clean deploy --settings .maven-settings.xml -B -U -Prelease

0 comments on commit 36a7758

Please sign in to comment.