File tree 2 files changed +23
-11
lines changed
2 files changed +23
-11
lines changed Original file line number Diff line number Diff line change 5
5
6
6
install :
7
7
- " 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"
19
9
- " pip install -q -r requirements.txt --use-mirrors"
20
10
21
11
script : sphinx-build -nW -b html -d _build/doctrees . _build/html
Original file line number Diff line number Diff line change
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
+
You can’t perform that action at this time.
0 commit comments