New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Travis speedup and log noise reduction #1034

Merged
merged 12 commits into from Jun 4, 2016

Conversation

Projects
None yet
1 participant
@Hiradur
Contributor

Hiradur commented Jun 4, 2016

Speeds up and cleans up Travis builds. Test build was finished after 14 minutes: https://travis-ci.org/Hiradur/rigs-of-rods/builds/135263406

  • use dash instead of bash since it's faster and more lightweight
  • turn off compiler optimizations
  • reduce log noise by suppressing some output of dependencies -> log size much smaller
  • only build required components of OGRE
  • cache built dependencies for future builds

Caching will probably be available after the PR has been merged and built once.

Hiradur added some commits Jun 3, 2016

[Tools] Travis: Speed up build
It appears that the Debug build type is slower than the Release type, possibly bottlenecked by Disk I/O for writing the debug data. We now use the Release build type to disable writing of Debug symbols but turn off compiler optimizations (sounds weird? Yes, it does!)
[Tools] Travis: Use dash instead of bash
Should at least safe a second per build.
Revert "[Tools] Travis: time make for profiling"
time not supported on Travis.

This reverts commit 2ef4f8f.
[Tools] Travis: Go back to gcc 4.8
Ensures that older distributions can build RoR and seems to be faster on Ubuntu 12.04

@Hiradur Hiradur changed the title from Travis cache to Travis speed up and log noise reduction Jun 4, 2016

@Hiradur Hiradur changed the title from Travis speed up and log noise reduction to Travis speedup and log noise reduction Jun 4, 2016

@Hiradur Hiradur merged commit 9f9375f into RigsOfRods:master Jun 4, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@Hiradur Hiradur deleted the Hiradur:travis_cache branch Jun 6, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment