commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jodastephen <...@git.apache.org>
Subject [GitHub] commons-lang pull request #299: Add module-info for Java 9
Date Mon, 30 Oct 2017 23:11:53 GMT
Github user jodastephen commented on a diff in the pull request:

    https://github.com/apache/commons-lang/pull/299#discussion_r147859782
  
    --- Diff: .travis.yml ---
    @@ -21,8 +21,19 @@ jdk:
       - oraclejdk8
       - oraclejdk9
     
    +cache:
    +  directories:
    +    - "$HOME/.m2/repository"
    +
    +before_cache:
    +  - rm -rf $HOME/.m2/repository/org/apache/commons/commons-lang3
    +
    +install:
    +  - mvn --version
    +
     script:
    -  - mvn
    +  - mvn -e -B
     
     after_success:
    -  - mvn clean cobertura:cobertura coveralls:report -Ptravis-cobertura
    +  - if [ $TRAVIS_JDK_VERSION == "openjdk7" ] || [ $TRAVIS_JDK_VERSION == "oraclejdk8"
]; then mvn -e -B clean cobertura:cobertura coveralls:report -Ptravis-cobertura; fi
    +  - if [ $TRAVIS_JDK_VERSION == "oraclejdk9" ]; then mvn -e -B clean cobertura:cobertura
-Ptravis-cobertura; fi
    --- End diff --
    
    The right answer will be to move from Cobertura to JaCoCo (as JaCoCo is the more alive
project). But right now, Coveralls also doesn't work with JaCoCo.


---

Mime
View raw message