Changeset 7f673bb for .travis.yml


Ignore:
Timestamp:
Dec 7, 2017 7:31:30 PM (2 years ago)
Author:
str4d <str4d@…>
Branches:
master
Children:
1f569b7
Parents:
a02cccaa
Message:

Travis CI: Dynamically add SonarQube? plugin to build.gradle

File:
1 edited

Legend:

Unmodified
Added
Removed
  • .travis.yml

    ra02cccaa r7f673bb  
    1717        - sudo perl -pi.bak -e 's/^(security\.provider\.)([0-9]+)/$1.($2+1)/ge' /etc/java-7-openjdk/security/java.security
    1818        - echo "security.provider.1=org.bouncycastle.jce.provider.BouncyCastleProvider" | sudo tee -a /etc/java-7-openjdk/security/java.security
     19
     20before_install:
     21 - |
     22    if [ "$TRAVIS_JDK_VERSION" == "oraclejdk8" ]; then
     23      echo "plugins {
     24    id 'org.sonarqube' version '2.6.1'
     25}
     26" | cat - build.gradle > build.gradle.temp
     27      mv build.gradle.temp build.gradle
     28    fi
    1929
    2030before_cache:
Note: See TracChangeset for help on using the changeset viewer.