Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9152a94
commit 0810ba2
Showing
6 changed files
with
54 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
src_dir: . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
/build | ||
/composer.lock | ||
/phpunit.xml | ||
/vendor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Get ApiGen.phar | ||
wget http://www.apigen.org/apigen.phar | ||
|
||
# Generate Api | ||
php apigen.phar generate -s . --exclude=vendor --exclude=Tests -d ../gh-pages --todo --tree --no-source-code | ||
cd ../gh-pages | ||
|
||
# Set identity | ||
git config --global user.email "travis@travis-ci.org" | ||
git config --global user.name "Travis" | ||
|
||
# Add branch | ||
git init | ||
git remote add origin https://${GH_TOKEN}@github.com/EmanueleMinotto/EmbedlyServiceProvider.git > /dev/null | ||
git checkout -B gh-pages | ||
git rm -rf . | ||
|
||
# Push generated files | ||
git add --all . | ||
git commit -m "API updated" | ||
git push origin gh-pages -fq > /dev/null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters