View Issue Details

IDProjectCategoryView StatusLast Update
0020910mantisbttoolspublic2021-01-01 19:25
Reporterdregad Assigned Todregad  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Target Version1.3.0-rc.2Fixed in Version1.3.0-rc.2 
Summary0020910: Improve TravisCi builds performance
Description

Currently the builds always installs Publican for MantisBT tests but the package is only needed for Docbook builds.

Docbook Builds install PHP, but it's not needed.

TagsTravisCI

Activities

There are no notes attached to this issue.

Related Changesets

MantisBT: master cd81b088

2016-05-15 04:58

dregad


Details Diff
Travis: only install publican for Docbook builds

We do not need Publican for regular MantisBT builds.

This commit improves the overall build performance by specifying the
addon apt package install in the build matrix for the docbook specific
build only.

The average gain is approx 30-45 seconds per build, for a total improvement of
over 5 minutes for all builds:
- Before: 23'25" - https://travis-ci.org/dregad/mantisbt/builds/130372109
- After: 17'55" - https://travis-ci.org/dregad/mantisbt/builds/130374454

Fixes 0020910
Affected Issues
0020910
mod - .travis.yml Diff File

MantisBT: master 837d9a60

2016-05-15 05:20

dregad


Details Diff
Travis: use Ruby instead of PHP when building Docbook

PHP is not preinstalled on Travis test containers, so using it as the
base language forces its installation even though we do not use it.

This commit sets the language to Ruby for Docbook builds, making them
15-30 seconds faster.

Before: 1'34" - https://travis-ci.org/dregad/mantisbt/jobs/130374467
After: 1'14" - https://travis-ci.org/dregad/mantisbt/jobs/130377992

Fixes 0020910
Affected Issues
0020910
mod - .travis.yml Diff File

MantisBT: master a11f41ad

2016-05-15 05:57

dregad


Details Diff
Travis: restore all build scenarios

Forgot to remove the comments I put in place to test the fixes for
issue 0020910 prior to pushing.
Affected Issues
0020910
mod - .travis.yml Diff File