[hibernate-commits] [hibernate/hibernate-ogm] 9898b3: OGM-1360 Avoid unnecessary cache updates in the Tr...

GitHub noreply at github.com
Thu Dec 21 08:38:40 EST 2017


  Branch: refs/heads/master
  Home:   https://github.com/hibernate/hibernate-ogm
  Commit: 9898b3b4eca756f812a41b828e709c0e2c6b9a95
      https://github.com/hibernate/hibernate-ogm/commit/9898b3b4eca756f812a41b828e709c0e2c6b9a95
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2017-12-21 (Thu, 21 Dec 2017)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  OGM-1360 Avoid unnecessary cache updates in the Travis build


  Commit: c5e2d0761f757c7c95652733208b6ec1ba889ebb
      https://github.com/hibernate/hibernate-ogm/commit/c5e2d0761f757c7c95652733208b6ec1ba889ebb
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2017-12-21 (Thu, 21 Dec 2017)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  OGM-1360 Move common build options to a variable in the Travis build


  Commit: 73c2d2bb6b588a64e796fab2111462186f8242d0
      https://github.com/hibernate/hibernate-ogm/commit/73c2d2bb6b588a64e796fab2111462186f8242d0
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2017-12-21 (Thu, 21 Dec 2017)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  OGM-1359 Clarify the output of the Travis build

1. If checkstyle fails, we don't want Travis to tell us the build
"errored": it just failed. Thus the checkstyle check should be in the
"script" section, not in the "install" section.
2. Running multiple independent script commands leads to an unclear
output, because the commands are executed regardless of the results of
the previous one. This means you can end up with build logs ending with
SUCCESS, while the build itself is marked as failed since one of the
commands failed.
   To work around the issue, I made sure commands are executed
conditionally, only if the previous one succeeded.
3. When checkstyle failed, it used to fail in the initial, no-log
build, and then we didn't have the checkstyle logs to tell us why it
failed. By disabling checkstyle in this initial build we can make the
build fail a little bit later, when the logs are enabled.


  Commit: ef1369f1ceb6229933b8cf8c8b5e85b357dc25f4
      https://github.com/hibernate/hibernate-ogm/commit/ef1369f1ceb6229933b8cf8c8b5e85b357dc25f4
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2017-12-21 (Thu, 21 Dec 2017)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  OGM-1360 Avoid duplicate checkstyle executions during the Travis build


Compare: https://github.com/hibernate/hibernate-ogm/compare/020b8bf785fb...ef1369f1ceb6


More information about the hibernate-commits mailing list