Skip to content

Commit

Permalink
Cleaning up docs and conda build...test docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Blumberg committed Jan 18, 2019
1 parent ffa983b commit 42e63db
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
17 changes: 5 additions & 12 deletions ci/build_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,9 @@ set -e

echo "Installing sphinx, etc. to build the documentation ..."
cd "$TRAVIS_BUILD_DIR"
if [[ "$BUILD_DOCS" == "YES" ]]; then
conda install -q -c anaconda sphinx sphinx_rtd_theme
cconda install -q -c conda-forge sphinx-gallery
11 pip install sphinx-prompt
12 else
onda install -q -c conda-forge sphinx-gallery
pip install sphinx-prompt
else
exit 0
fi
conda install -q -c anaconda sphinx sphinx_rtd_theme
conda install -q -c conda-forge sphinx-gallery
pip install sphinx-prompt

echo "Adding the SSH key ..."
cd ci/
Expand All @@ -39,8 +32,8 @@ cp ../CHANGELOG.rst ../docs/source/changelog.rst
echo "Running Sphinx ..."
make html

echo "ENDING BUILD OF DOCS EARLY BECAUSE OF TESTING"
exit 0
#echo "ENDING BUILD OF DOCS EARLY BECAUSE OF TESTING"
#exit 0

# upload to pyart-docs-travis repo is this is not a pull request and
# secure token is available (aka in the ARM-DOE repository.
Expand Down
5 changes: 5 additions & 0 deletions ci/deploy_conda.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,15 @@ conda build conda-recipe/
# Convert the conda package to support other operating systems
echo "Convert the recipe to other OSes"
ls $CONDA_BLD_PATH
echo "Coverting to Windows 32"
conda convert -q -p win-32 -o $CONDA_BLD_PATH $CONDA_BLD_PATH/$OS/*.tar.bz2
echo "Coverting to Windows 64"
conda convert -q -p win-64 -o $CONDA_BLD_PATH $CONDA_BLD_PATH/$OS/*.tar.bz2
echo "Coverting to Linux 32"
conda convert -q -p linux-32 -o $CONDA_BLD_PATH $CONDA_BLD_PATH/$OS/*.tar.bz2
echo "Coverting to Linux 64"
conda convert -q -p linux-64 -o $CONDA_BLD_PATH $CONDA_BLD_PATH/$OS/*.tar.bz2
echo "Coverting to OS X 64"
conda convert -q -p osx-64 -o $CONDA_BLD_PATH $CONDA_BLD_PATH/$OS/*.tar.bz2
ls $CONDA_BLD_PATH

Expand Down

0 comments on commit 42e63db

Please sign in to comment.