Commit 142aee0e authored by Johannes Blaschke's avatar Johannes Blaschke
Browse files

working on travis: remove unncessary install step/fix sphinx build check

parent 0f504afe
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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

+5 −5
Original line number Diff line number Diff line
@@ -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`