View Issue Details

IDProjectCategoryView StatusLast Update
0020910mantisbttoolspublic2016-06-12 00:42
ReporterdregadAssigned Todregad 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version 
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.

TagsNo tags attached.

Activities

There are no notes attached to this issue.

Related Changesets

MantisBT: master cd81b088

2016-05-15 08:58:01

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
mod - .travis.yml Diff File

MantisBT: master 837d9a60

2016-05-15 09:20:48

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
mod - .travis.yml Diff File

MantisBT: master a11f41ad

2016-05-15 09:57:11

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.
mod - .travis.yml Diff File

Issue History

Date Modified Username Field Change
2016-05-15 09:51 dregad New Issue
2016-05-15 09:51 dregad Status new => assigned
2016-05-15 09:51 dregad Assigned To => dregad
2016-05-15 09:53 dregad Changeset attached => MantisBT master cd81b088
2016-05-15 09:53 dregad Changeset attached => MantisBT master 837d9a60
2016-05-15 09:53 dregad Status assigned => resolved
2016-05-15 09:53 dregad Resolution open => fixed
2016-05-15 09:53 dregad Fixed in Version => 1.3.0-rc.2
2016-05-15 09:58 dregad Changeset attached => MantisBT master a11f41ad
2016-06-12 00:42 vboctor Status resolved => closed