Skip to content

Use Gradle wrapper for CI jobs - #599

Merged
stkent merged 1 commit into
masterfrom
gradle-wrapper
Jun 7, 2017
Merged

stkent merged 1 commit into
masterfrom
gradle-wrapper

Conversation

@stkent

@stkent stkent commented May 23, 2017

Copy link
Copy Markdown
Contributor

Exploratory pull request to see how much using the Gradle wrapper may speed up CI builds.


Reviewer Resources:

Track Policies

@stkent
stkent force-pushed the gradle-wrapper branch 6 times, most recently from f410e17 to 0e1a52f Compare May 23, 2017 10:02
@stkent

stkent commented May 23, 2017

Copy link
Copy Markdown
Contributor Author

All CI tasks now use a wrapper-controlled version of Gradle (currently 3.5) to run tests. This is a major upgrade compared to the default version of Gradle used by Travis (2.2.1) and provides a >3x speedup.

Samples before:

screen shot 2017-05-23 at 11 25 37 am

Sample after:

screen shot 2017-05-23 at 11 25 47 am

@stkent
stkent requested review from FridaTveit and jtigger May 23, 2017 10:35
@stkent

stkent commented May 23, 2017

Copy link
Copy Markdown
Contributor Author

@FridaTveit I'm especially interested in whether this works ok for you on Windows! 🤞

This was referenced May 23, 2017
@FridaTveit

Copy link
Copy Markdown
Contributor

Due to needing to do iOS development at work, I'm currently using a mac sorry! I'll have access to my Windows machine on Tuesday so I can check if it works on Windows then if that's okay :)

@stkent

stkent commented May 23, 2017

Copy link
Copy Markdown
Contributor Author

No rush! :)

@stkent

stkent commented May 30, 2017

Copy link
Copy Markdown
Contributor Author

@FridaTveit let me know how exploration goes if you are able to test this on Windows today! 🙏

@FridaTveit

Copy link
Copy Markdown
Contributor

Sadly, due to office refurbishment, my windows laptop has temporarily disappeared... Hopefully it'll be found by the end of the day. Otherwise I won't be able to test it until next week, sorry! :(

@stkent

stkent commented May 30, 2017

Copy link
Copy Markdown
Contributor Author

😱 oh no, a missing laptop?! That sounds bad! Hope you find it safe and sound.

@FridaTveit

Copy link
Copy Markdown
Contributor

It's definitely in the building. We just have a million boxes being moved around and it's a question of finding the right one :P

@stkent

stkent commented Jun 7, 2017

Copy link
Copy Markdown
Contributor Author

@FridaTveit any luck locating that laptop? :)

@FridaTveit

Copy link
Copy Markdown
Contributor

Yes! I'm back in the office today and I found my box with the laptop in :) Will try running it now :)

@FridaTveit FridaTveit left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This all looks sensible and it works on my windows laptop :) Thanks @stkent! :)

One of the tests doesn't work on my windows laptop I just noticed but I'll raise a seperate issue for that...

@stkent

stkent commented Jun 7, 2017

Copy link
Copy Markdown
Contributor Author

Hooray! I'm going to merge it since I'm sitting right here and can triage any unforeseen explosions :)

@stkent
stkent merged commit cb9089c into master Jun 7, 2017
@stkent
stkent deleted the gradle-wrapper branch June 7, 2017 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants