Loading .travis.yml +1 −1 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ python: install: - pip install --user sphinx sphinx_rtd_theme - sudo apt-get install mpich2 gfortran # - sudo apt-get install mpich2 gfortran script: bash ./build_and_deploy.sh Loading build_and_deploy.sh +5 −5 Original line number Diff line number Diff line Loading @@ -7,14 +7,14 @@ set -e # Exit with nonzero exit code if anything fails #make -j4 # Then we build and deploy the sphinx / doxygen documentation #SOURCE_BRANCH="master" SOURCE_BRANCH="master" #TARGET_BRANCH="gh-pages" # Pull requests and commits to other branches shouldn't try to deploy #if [ "$TRAVIS_PULL_REQUEST" != "false" -o "$TRAVIS_BRANCH" != "$SOURCE_BRANCH" ]; then # echo "Skipping deploy." # exit 0 #fi if [ "$TRAVIS_PULL_REQUEST" != "false" -o "$TRAVIS_BRANCH" != "$SOURCE_BRANCH" ]; then echo "Skipping deploy." exit 0 fi # Save some useful information #REPO=`git config remote.origin.url` Loading Loading
.travis.yml +1 −1 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ python: install: - pip install --user sphinx sphinx_rtd_theme - sudo apt-get install mpich2 gfortran # - sudo apt-get install mpich2 gfortran script: bash ./build_and_deploy.sh Loading
build_and_deploy.sh +5 −5 Original line number Diff line number Diff line Loading @@ -7,14 +7,14 @@ set -e # Exit with nonzero exit code if anything fails #make -j4 # Then we build and deploy the sphinx / doxygen documentation #SOURCE_BRANCH="master" SOURCE_BRANCH="master" #TARGET_BRANCH="gh-pages" # Pull requests and commits to other branches shouldn't try to deploy #if [ "$TRAVIS_PULL_REQUEST" != "false" -o "$TRAVIS_BRANCH" != "$SOURCE_BRANCH" ]; then # echo "Skipping deploy." # exit 0 #fi if [ "$TRAVIS_PULL_REQUEST" != "false" -o "$TRAVIS_BRANCH" != "$SOURCE_BRANCH" ]; then echo "Skipping deploy." exit 0 fi # Save some useful information #REPO=`git config remote.origin.url` Loading