-
Notifications
You must be signed in to change notification settings - Fork 17
/
.travis.yml
45 lines (35 loc) · 1.75 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
38
39
40
41
42
43
44
45
addons:
sonarqube: true
language: java
branches:
only:
- master
- tests
directories:
- $HOME/.m2
- $HOME/.sonar/cache
jdk:
- oraclejdk8
sudo: required
before_install:
- sudo apt-get -qq update
- mvn install:install-file -Dfile=lib/TarsosTranscoder-1.2.jar -DgroupId=be.tarsos -DartifactId=transcoder -Dversion=1.2 -Dpackaging=jar
- mvn install:install-file -Dfile=lib/iTunesUtilities.jar -DgroupId=com.worldsworstsoftware -DartifactId=itunesutilities -Dversion=1.2 -Dpackaging=jar
- mvn install:install-file -Dfile=lib/jaudiotagger-2.2.6-SNAPSHOT.jar -DgroupId=net.jthink -DartifactId=jaudiotagger -Dversion=2.2.6-SNAPSHOT -Dpackaging=jar
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
script: mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar
addons:
apt:
packages:
- oracle-java8-installer
sonarcloud:
organization: "octaviospain-github"
token:
secure: "P/eyCzQU9xjAfsr08tLabfiRAI4+ChjnaZeqlu7rIxAEqLg3M11e58UB10fRFSBxBbVUcnB4rhVDqSsaPuVmb/jZ2yuaiu/DEqVFP7NE41GdwnoRGhdifTW9NuEVoiRaGnqvUA3FlI1qDsZjE1PnIu3XCTRsKVmXS4bb4MWV0/oz8jVPpeKR2qaI9jKFsQXCh5Zihrchp318v6Qrxi6N9UCGiTPa47U+HwtxHbwcOCpUDmJ9ycgP05Gk9dk54BzevSib2C5mo5+qk6aaccUThMvsWid0giz5qzo+T7/ebA9rIRyQ1CSREObli7LclaRFgONXmOpAbn1RQKBhtIbF9yZTfRBr4dTn2qh6B6hJ0jDxmNl1WhltZ6iHzm8XV4XummNn8B6SbGOaip2qA3nIwoUR18xSN1k5Y+/zpURexARZ49r80mmd6X1lIPGwI8ntPGigo/TumiFzhH7pA5UUMxAX0gRWcCWXh1c4A9sbq75i4KJnAbXaiyUPM8RMC32BEmYIZlkOQ30IsUGEizWp6Cq5RHHwZ/vGYN+0+5siBpfuy6DLULiMwXNW0iXZ2lsywWhbaVAjj6QvKMiwpb8dl1z7ZfY9xs3iPQA8yH0ttmZ6EVmeg3olcbcVcQOZ6GFGmqN/hwEkdyYKJnZoNfob7bujD477sfRBYZC9L+SBCns="
branches:
- master
after_success:
- bash <(curl -s https://codecov.io/bash)