kinow commented on a change in pull request #38:
URL: https://github.com/apache/commons-cli/pull/38#discussion_r430142726
##########
File path: .travis.yml
##########
@@ -14,15 +14,19 @@
# limitations under the License.
language: java
-
-jdk:
- - openjdk8
- - openjdk11
- - openjdk12
- - openjdk13
- - openjdk14
- - openjdk-ea
-
+cache:
+ directories:
+ - $HOME/.m2
Review comment:
Oh, that sounds smart! I'm using something similar with GH actions but
for JS and Ruby (caching `yarn.lock` and `Gemfile.lock`). And this little trick
has sped up significantly my builds. :rocket:
##########
File path: .travis.yml
##########
@@ -14,15 +14,19 @@
# limitations under the License.
language: java
-
-jdk:
- - openjdk8
- - openjdk11
- - openjdk12
- - openjdk13
- - openjdk14
- - openjdk-ea
-
+cache:
+ directories:
+ - $HOME/.m2
Review comment:
Oh, that sounds like a great idea! I'm using something similar with GH
actions but for JS and Ruby (caching `yarn.lock` and `Gemfile.lock`). And this
little trick has sped up significantly my builds. :rocket:
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]