Uploaded image for project: 'Commons Compress'
  1. Commons Compress
  2. COMPRESS-413

Travis build redundantly repeats compilation and tests redundantly

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.14
    • Fix Version/s: 1.15
    • Component/s: Build
    • Labels:
    • Environment:

      Travis

      Description

      The Travis build setup is suboptimal.

      At the moment, code is compiled and installed by the default install phase.
      Then the default build phase is executed, which compiles and runs the tests.
      If the tests succeed, then the build is cleaned, recompiled, and retested; this time with
      coverage enabled.

      The .travis.yml file could be changed to skip the install phase, and to run tests with coverage during the build phase.
      The coveralls plugin can be configured in the pom to not fail the build if the service is unreachable, so forks that don't have jacoco enabled won't always have their builds fail.

      Also, the jdk switching in the trusty container seems to be not working properly at the moment, so installing a jdk7 doesn't work properly.

      These changes evolved as I was poking jenkins last night.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                sesuncedu Simon Spero
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: