File tree 2 files changed +10
-16
lines changed
2 files changed +10
-16
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ language: python
8
8
# The cash directories will be deleted if anything in ci/ changes in a commit
9
9
cache :
10
10
directories :
11
- - $HOME/miniconda3 # miniconda cache
12
11
- $HOME/.cache # cython cache
13
12
- $HOME/.ccache # compiler cache
14
13
Original file line number Diff line number Diff line change @@ -35,24 +35,19 @@ echo "[home_dir: $home_dir]"
35
35
# install miniconda
36
36
MINICONDA_DIR=" $HOME /miniconda3"
37
37
38
- if [ " $USE_CACHE " ] && [ -d " $MINICONDA_DIR /bin" ]; then
39
- echo " [Using cached Miniconda install]"
38
+ echo " [Using clean Miniconda install]"
40
39
41
- else
42
- echo " [Using clean Miniconda install]"
43
-
44
- if [ -d " $MINICONDA_DIR " ]; then
45
- rm -rf " $MINICONDA_DIR "
46
- fi
40
+ if [ -d " $MINICONDA_DIR " ]; then
41
+ rm -rf " $MINICONDA_DIR "
42
+ fi
47
43
48
- # install miniconda
49
- if [ " ${TRAVIS_OS_NAME} " == " osx" ]; then
50
- time wget http://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh || exit 1
51
- else
52
- time wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh || exit 1
53
- fi
54
- time bash miniconda.sh -b -p " $MINICONDA_DIR " || exit 1
44
+ # install miniconda
45
+ if [ " ${TRAVIS_OS_NAME} " == " osx" ]; then
46
+ time wget http://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh || exit 1
47
+ else
48
+ time wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh || exit 1
55
49
fi
50
+ time bash miniconda.sh -b -p " $MINICONDA_DIR " || exit 1
56
51
57
52
echo " [show conda]"
58
53
which conda
You can’t perform that action at this time.
0 commit comments