source: .travis.yml @ f9eaf41

Last change on this file since f9eaf41 was f9eaf41, checked in by str4d <str4d@…>, 2 years ago

Enable SonarCloud? in Travis CI

  • Property mode set to 100644
File size: 1.1 KB
Line 
1language: java
2
3addons:
4  sonarcloud:
5    organization: "i2p"
6
7jdk:
8  - oraclejdk9
9  - oraclejdk8
10  - openjdk8
11
12matrix:
13  include:
14    - jdk: openjdk7
15      sudo: required
16      before_install: # Work around missing crypto in openjdk7
17        - sudo wget "https://bouncycastle.org/download/bcprov-ext-jdk15on-158.jar" -O "${JAVA_HOME}/jre/lib/ext/bcprov-ext-jdk15on-158.jar"
18        - sudo perl -pi.bak -e 's/^(security\.provider\.)([0-9]+)/$1.($2+1)/ge' /etc/java-7-openjdk/security/java.security
19        - echo "security.provider.1=org.bouncycastle.jce.provider.BouncyCastleProvider" | sudo tee -a /etc/java-7-openjdk/security/java.security
20
21before_cache:
22  - rm -f  $HOME/.gradle/caches/modules-2/modules-2.lock
23  - rm -fr $HOME/.gradle/caches/*/plugin-resolution/
24cache:
25  directories:
26    - $HOME/.gradle/caches/
27    - $HOME/.gradle/wrapper/
28    - $HOME/.sonar/cache/
29    - .gradle
30
31script:
32  - ./gradlew sonarqube
33  - ./gradlew codeCoverageReport
34
35after_success:
36  - bash <(curl -s https://codecov.io/bash)
37
38notifications:
39  irc:
40    channels:
41      - "chat.freenode.net#i2p-dev"
42    on_success: change
43    on_failure: always
Note: See TracBrowser for help on using the repository browser.