Speeding up build times travis

@ptarjan rebased