File tree Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -11,14 +11,17 @@ before_install:
11
11
- sudo apt-get update --fix-missing -qq
12
12
- sudo apt-get install gfortran liblapack-dev
13
13
# use miniconda to install numpy/scipy, to avoid lengthy build from source
14
- - wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
15
- - chmod +x miniconda.sh
16
- - ./miniconda.sh -b
17
- - export PATH=/home/travis/miniconda/bin:$PATH
9B65
18
- - conda update --yes conda
19
- # The next couple lines fix a crash with multiprocessing on Travis and are not specific to using Miniconda
20
- - sudo rm -rf /dev/shm
21
- - sudo ln -s /run/shm /dev/shm
14
+ - if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
15
+ wget http://repo.continuum.io/miniconda/Miniconda-3.4.2-Linux-x86_64.sh -O miniconda.sh;
16
+ else
17
+ wget http://repo.continuum.io/miniconda/Miniconda3-3.4.2-Linux-x86_64.sh -O miniconda.sh;
18
+ fi
19
+ - bash miniconda.sh -b -p $HOME/miniconda
20
+ - export PATH="$HOME/miniconda/bin:$PATH"
21
+ - hash -r
22
+ - conda config --set always_yes yes --set changeps1 no
23
+ - conda update -q conda
24
+ - conda info -a
22
25
23
26
# Install packages
24
27
install :
You can’t perform that action at this time.
0 commit comments