forked from sympy/sympy
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
99 changed files
with
1,644 additions
and
674 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 |
---|---|---|
|
@@ -177,3 +177,6 @@ Peter Brady <[email protected]> peter <[email protected]> | |
Craig A. Stoudt <[email protected]> cstoudt <[email protected]> | ||
Raj <[email protected]> raj454raj <[email protected]> | ||
John V. Siratt <[email protected]> John Siratt <[email protected]> | ||
Ted Dokos <[email protected]> ted-dokos <[email protected]> | ||
Akshat Jain <[email protected]> akshat_jain <[email protected]> | ||
Akshat Jain <[email protected]> jugnu <[email protected]> |
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 |
---|---|---|
|
@@ -368,3 +368,6 @@ Hamish Dickson <[email protected]> | |
Michael Gallaspy <[email protected]> | ||
Roman Inflianskas <[email protected]> | ||
Duane Nykamp <[email protected]> | ||
Ted Dokos <[email protected]> | ||
Sunny Aggarwal <[email protected]> | ||
Akshat Jain <[email protected]> |
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 |
---|---|---|
|
@@ -7,9 +7,10 @@ | |
# | ||
# Following is the procedure to get the access token: | ||
# | ||
# $ curl -X POST -u <github_username> -H "Content-Type: application/json" -d\ | ||
# "{\"scopes\":[\"public_repo\"],\"note\":\"token for pushing from travis\"}"\ | ||
# https://api.github.com/authorizations | ||
# $ curl -X POST -u <github_username> -H "Content-Type: application/json" -H "X-GitHub-OTP: 2FA_TOKEN" -d "{\"scopes\":[\"public_repo\"],\"note\":\"token for pushing from Travis for SymPy\"}" https://api.github.com/authorizations | ||
# | ||
# Replace 2FA_TOKEN with your two-factor token generated by SMS or the | ||
# application. | ||
# | ||
# It'll give you a JSON response having a key called "token". | ||
# | ||
|
@@ -24,20 +25,9 @@ | |
# Exit on error | ||
set -e | ||
|
||
ACTUAL_TRAVIS_JOB_NUMBER=`echo $TRAVIS_JOB_NUMBER| cut -d'.' -f 2` | ||
|
||
if [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$ACTUAL_TRAVIS_JOB_NUMBER" == "1" ]; then | ||
|
||
echo "Installing dependencies" | ||
sudo apt-get install --no-install-recommends graphviz inkscape texlive texlive-xetex texlive-fonts-recommended texlive-latex-extra lmodern librsvg2-bin imagemagick docbook2x | ||
pip install "sphinx==1.1.3" | ||
|
||
echo -e "Building docs" | ||
cd doc | ||
make clean | ||
make html | ||
if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then | ||
|
||
cd ../../ | ||
cd ../ | ||
echo -e "Setting git attributes" | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "SymPy (Travis CI)" | ||
|
@@ -48,12 +38,16 @@ if [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$ACTUAL_TRAVIS_JOB_NUMBER" == "1" | |
cd gh-pages | ||
git remote rm origin | ||
git remote add origin https://${GH_TOKEN}@github.com/sympy/sympy_doc.git > /dev/null 2>&1 | ||
git fetch origin > /dev/null 2>&1 | ||
git branch --set-upstream-to=origin/gh-pages gh-pages | ||
rm -rf dev/ | ||
cp -R ../sympy/doc/_build/html dev/ | ||
git add -A dev/ | ||
./generate_indexes.py | ||
|
||
git commit -am "Update dev doc after building $TRAVIS_BUILD_NUMBER" | ||
echo -e "Pulling" | ||
git pull > /dev/null 2>&1 | ||
echo -e "Pushing commit" | ||
git push -fq origin gh-pages > /dev/null 2>&1 | ||
git push -q origin gh-pages > /dev/null 2>&1 | ||
fi |
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
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
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
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
Oops, something went wrong.