Travis: Split conda install and configure steps
Install Miniconda in the first step and then update and configure the
`root` environment in the second step. This will make way for other
optimizations later on even though this is not an optimization itself.
[skip lint]
[skip appveyor]
@@ -12,11 +12,15 @@ chmod +x ~/uninstall_homebrew.sh
~/uninstall_homebrew.sh -fq
rm ~/uninstall_homebrew.sh
-# Install and configure conda environment.
+# Install miniconda.
echo ""
echo "Installing a fresh version of Miniconda."
curl -L -O https://raw.githubusercontent.com/conda-forge/conda-smithy/e976c7e84bb3c4846e7562afd1a42c4b535b51f5/bootstrap-obvious-ci-and-miniconda.py
python bootstrap-obvious-ci-and-miniconda.py ~/miniconda x64 3 --without-obvci && source ~/miniconda/bin/activate root
+
+# Configure conda.
+echo ""
+echo "Configuring conda."
conda config --add channels conda-forge
conda config --set show_channel_urls true
conda install --yes --quiet conda-build-all=1.0.0
