forked from LiveCarta/PayPal-PHP-SDK
Merge branch 'avidas-update-doc'
This commit is contained in:
@@ -19,7 +19,7 @@ script:
|
||||
- phpunit
|
||||
after_success:
|
||||
- php vendor/bin/coveralls -v -c .coveralls.yml
|
||||
- if [ $TRAVIS_PHP_VERSION = '5.6' ]; then sh generate-api.sh; fi
|
||||
- if [ $TRAVIS_PHP_VERSION = '5.6' ] && [ $TRAVIS_BRANCH = 'master' ] && [ $TRAVIS_PULL_REQUEST = 'false' ]; then sh generate-api.sh; fi
|
||||
notifications:
|
||||
email:
|
||||
recipients:
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="icon" href="../sample/images/favicon.ico">
|
||||
<link rel="icon" href="https://www.paypalobjects.com/webstatic/icon/favicon.ico">
|
||||
<title>PayPal PHP SDK - Welcome</title>
|
||||
<!-- Bootstrap core CSS -->
|
||||
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" rel="stylesheet">
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# Get ApiGen.phar
|
||||
wget http://www.apigen.org/apigen.phar
|
||||
|
||||
# Generate Api
|
||||
# Generate SDK Docs
|
||||
php apigen.phar generate --template-theme="bootstrap" -s lib -d ../gh-pages/docs
|
||||
|
||||
# Copy Home Page from Master Branch to Gh-Pages folder
|
||||
@@ -26,5 +26,5 @@ git checkout -B gh-pages
|
||||
|
||||
# Push generated files
|
||||
git add .
|
||||
git commit -m "API updated"
|
||||
git commit -m "Docs updated by Travis"
|
||||
git push origin gh-pages -fq > /dev/null
|
||||
|
||||
Reference in New Issue
Block a user