Skip to content

Commit e3410cf

Browse files
committed
Install miniconda in $HOME to avoid long prefix issues in conda-build 2.0
1 parent 9fd94f5 commit e3410cf

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

ci/travis_install_conda.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ else
99
fi
1010

1111
wget -O miniconda.sh $MINICONDA_URL
12-
export MINICONDA=$TRAVIS_BUILD_DIR/miniconda
12+
13+
export MINICONDA=$HOME/miniconda
14+
1315
bash miniconda.sh -b -p $MINICONDA
1416
export PATH="$MINICONDA/bin:$PATH"
1517
conda update -y -q conda

ci/travis_script_python.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -e
55
PYTHON_DIR=$TRAVIS_BUILD_DIR/python
66

77
# Re-use conda installation from C++
8-
export MINICONDA=$TRAVIS_BUILD_DIR/miniconda
8+
export MINICONDA=$HOME/miniconda
99
export PATH="$MINICONDA/bin:$PATH"
1010
export PARQUET_HOME=$MINICONDA
1111

0 commit comments

Comments
 (0)