-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.travis.yml
More file actions
28 lines (22 loc) · 816 Bytes
/
.travis.yml
File metadata and controls
28 lines (22 loc) · 816 Bytes
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
dist: trusty
cache:
directories:
- $HOME/.m2
addons:
sonarcloud:
organization: "bordertech-github"
token:
secure: $SONAR_TOKEN
before_install:
- echo "MAVEN_OPTS='-Xmx512m -XX:MaxPermSize=128m'" > ~/.mavenrc
- mvn clean
- wget https://github.com/codacy/codacy-coverage-reporter/releases/download/4.0.5/codacy-coverage-reporter-4.0.5-assembly.jar
language: Java
jdk:
- oraclejdk8
## Travis installs the project with the following maven command:- "mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V"
script:
- mvn package sonar:sonar -Dsonar.projectKey="bordertech-wcomponents-addons"
## Send Coverage to Codacy (No tests yet)
## after_success:
## - java -jar codacy-coverage-reporter-4.0.5-assembly.jar report -l Java -r wcomponents-addons-common/target/site/jacoco/jacoco.xml