Skip to content

Commit 0ffab81

Browse files
committed
Added Travis CI
1 parent f1351fc commit 0ffab81

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

.travis.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
language: java
2+
jdk:
3+
- openjdk8
4+
5+
stages:
6+
- tests-package-sonar
7+
- deploy
8+
9+
jobs:
10+
include:
11+
- stage: tests-package-sonar
12+
addons:
13+
sonarcloud:
14+
organization: "thepracticaldeveloper"
15+
script:
16+
- mvn clean package sonar:sonar
17+
- stage: deploy
18+
script: echo "Deploying..."
19+
deploy:
20+
provider: releases
21+
api_key: "${GITHUB_OAUTH_TOKEN}"
22+
file: "./target/quboo-sonar-plugin.jar"
23+
skip_cleanup: true
24+
on:
25+
tags: true

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@
9191
</dependencies>
9292

9393
<build>
94+
<finalName>${project.artifactId}</finalName>
9495
<plugins>
9596
<plugin>
9697
<groupId>org.sonarsource.sonar-packaging-maven-plugin</groupId>

0 commit comments

Comments
 (0)