Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to tell Travis to skip pulling all git submodules in?

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?

like image 460
errordeveloper Avatar asked Apr 20 '12 13:04

errordeveloper


People also ask

Does git pull include submodules?

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 .

How do I remove Travis from GitHub?

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.

Is Travis CI Com free?

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.


2 Answers

In case if somebody still looks for this, in .travis.yml:

git:   submodules: false 
like image 165
tenbits Avatar answered Sep 22 '22 23:09

tenbits


At the moment not, please file an issue with travis-build.

like image 35
Konstantin Haase Avatar answered Sep 24 '22 23:09

Konstantin Haase