Commit a486ae38 authored by Bharath Ramsundar's avatar Bharath Ramsundar
Browse files

Merge branch 'docs' of https://github.com/rbharath/deepchem into docs

parents 235f3bda da2bf950
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
echo '$TRAVIS_PULL_REQUEST $TRAVIS_BRANCH'
echo $TRAVIS_PULL_REQUEST $TRAVIS_BRANCH

if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]; then
    echo "This is a pull request. No deployment will be done."; exit 0
fi
#if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]; then
#    echo "This is a pull request. No deployment will be done."; exit 0
#fi

if [[ "$TRAVIS_BRANCH" != "master" ]]; then
    echo "No deployment on BRANCH='$TRAVIS_BRANCH'"; exit 0
@@ -12,7 +12,7 @@ fi
# Create the docs and push them to S3
# -----------------------------------
echo "About to install numpydoc, s3cmd"
pip install numpydoc s3cmd
pip install numpydoc s3cmd msmb_theme
conda list -e
mkdir -p docs/_build
echo "About to build docs"
+1 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@ import subprocess
BUCKET_NAME = 'deepchem.io'

if not any(d.project_name == 's3cmd' for d in pip.get_installed_distributions()):
  raise ImportError('The s3cmd pacakge is required. try $ pip install s3cmd')
  raise ImportError('The s3cmd package is required. try $ pip install s3cmd')

# The secret key is available as a secure environment variable
# on travis-ci to push the build documentation to Amazon S3.