In my project I have a few git submodules, however those aren't actual build dependencies and do take some extra time to get pulled in, literarily doubling or tripling the build time.
Is there any way of telling Travis to skip this useless step?
Pulling with submodules. Once you have set up the submodules you can update the repository with fetch/pull like you would normally do. To pull everything including the submodules, use the --recurse-submodules and the --remote parameter in the git pull command .
You should see a My repositories label followed by a plus sign (i.e. + ). Click on that plus sign (i.e. + ). It will lead you to a page listing all your Github repositories with an on/off toggle beside each one. Just put the toggle to "off" for the repositories you don't want in Travis CI.
You most certainly can! And you get 1 month for free – 12 months for the price of 11! Simply select the annual option when signing up for a subscription, or go to travis-ci.com if you wish to switch your current plan to annual.
In case if somebody still looks for this, in .travis.yml
:
git: submodules: false
At the moment not, please file an issue with travis-build.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With