-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
37 lines (30 loc) · 1.34 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
language: java
install: true
os:
- linux
jdk:
- oraclejdk11
addons:
sonarcloud:
organization: "lequal"
token:
secure: "hmaHB4Y2cM9zREAhfjqRuGsYkc6rZYqcK66xslYF0Tbrqn/rEFQZrfqMkDa/s2Xm4VWWSjtup20o6Ad9awq8YgxX4NNkgNRvAXTpNbKSYVkS6xtqi4SEjHYaETKmXfn6VQHCcMXqOYtX7HuxS/X5rkViHpIloy5VhnJKSVh66lnf38EJo78J7Z9dFxTcun5O1e46+Pk0/AatjUcEX9HJMtaI+VfTEv4A2UgjZAbNxfPuMWIjZlp0sSdXYOouiOJWojnpA5u9sDFIpkprIFLx0AbSoWsMxHHeK1eKU8Z4NFLCqJyQylxpy9IdmHyl9Ar22h5E+ki2/+U5O9mB/cTSWHyWDUesAmdPoqA2lgcJV1Jc1yjU1iWnqApocY9JSVUEOB5do5UdqihEAFmQYiqlsp0TZV/cgvVamPEZnKBO4C2WlrPmDh1/tBKPEvWbiZLIb8NKTT1gG4ei2YyHP9XuJeF+etX6FcMc0wjg/jE0F3rrQaQLxrNkvWTAyMeUqLqtW/0Tw7/+9gWAM8nle+wTxqmQhe1w7DCRcPI2kBLjv6QaYvTLOgcC5eeHFOlpXHBfIk00nvin3RwSoIZ/byB7hdchZn0BZdvN+bKmPMdyAX0HHLirgFtkDFNNKsnFJlKpoqX8B2kAEFcxWPfyN12KX/0nXtVzC1JjWExNS+8fOu4="
script:
# the following command line builds the project, runs the tests with coverage and then execute the SonarCloud analysis
- mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar
cache:
directories:
- '$HOME/.m2/repository'
- '$HOME/.sonar/cache'
notifications:
email: false
deploy:
provider: releases
api_key: "$GITHUB_TOKEN"
file_glob: true
file: "target/icode-c-plugin-*.jar"
skip_cleanup: true
name: "i-Code C plugin"
draft: true
on:
tags: true