Skip to content

Commit 8dec729

Browse files
tvlooywouterj
authored andcommitted
sparse checkouts
1 parent b6f693e commit 8dec729

File tree

2 files changed

+23
-11
lines changed

2 files changed

+23
-11
lines changed

.travis.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,7 @@ python:
55

66
install:
77
- "git submodule update --init"
8-
- "git clone http://github.com/sensiolabs/SensioFrameworkExtraBundle _bndls/sensio-framework-extra"
9-
- "git clone http://github.com/sensiolabs/SensioGeneratorBundle _bndls/sensio-generator"
10-
- "git clone http://github.com/doctrine/DoctrineFixturesBundle _bndls/doctrine-fixtures"
11-
- "git clone http://github.com/doctrine/DoctrineMigrationsBundle _bndls/doctrine-migrations"
12-
- "git clone http://github.com/doctrine/DoctrineMongoDBBundle _bndls/doctrine-mongodb"
13-
- "git clone http://github.com/symfony-cmf/symfony-cmf-docs cmf"
14-
- "mv _bndls/doctrine-mongodb/Resources/doc bundles/DoctrineMongoDBBundle"
15-
- "mv _bndls/doctrine-migrations/Resources/doc bundles/DoctrineMigrationsBundle"
16-
- "mv _bndls/doctrine-fixtures/Resources/doc bundles/DoctrineFixturesBundle"
17-
- "mv _bndls/sensio-framework-extra/Resources/doc bundles/SensioFrameworkExtraBundle"
18-
- "mv _bndls/sensio-generator/Resources/doc bundles/SensioGeneratorBundle"
8+
- "bash install.sh"
199
- "pip install -q -r requirements.txt --use-mirrors"
2010

2111
script: sphinx-build -nW -b html -d _build/doctrees . _build/html

install.sh

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#!/bin/bash
2+
3+
function sparse_checkout {
4+
mkdir sparse_checkout
5+
cd sparse_checkout
6+
git init
7+
git config core.sparsecheckout true
8+
git remote add -f origin http://github.com/$1/$2
9+
echo Resources/doc > .git/info/sparse-checkout
10+
git checkout master
11+
mv Resources/doc ../bundles/$2
12+
cd ..
13+
rm -rf sparse_checkout
14+
}
15+
16+
sparse_checkout sensiolabs SensioFrameworkExtraBundle
17+
sparse_checkout sensiolabs SensioGeneratorBundle
18+
sparse_checkout doctrine DoctrineFixturesBundle
19+
sparse_checkout doctrine DoctrineMigrationsBundle
20+
sparse_checkout doctrine DoctrineMongoDBBundle
21+
git clone http://github.com/symfony-cmf/symfony-cmf-docs cmf
22+

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy