Skip to content

Commit edac3f8

Browse files
author
snowman2
committed
added installation for gfortran; removed osx miniconda install
1 parent e06a443 commit edac3f8

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.travis.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,24 @@ notifications:
1717

1818
before_install:
1919
#-----------------------------------------------------------------------------
20+
# Install gcc, g++, gfortran
21+
#-----------------------------------------------------------------------------
22+
- sudo apt-get update -qq
23+
- sudo apt-get install -y g++ gfortran
24+
#-----------------------------------------------------------------------------
2025
# Install minconda
2126
#-----------------------------------------------------------------------------
22-
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
23-
wget -O miniconda.sh http://repo.continuum.io/miniconda/Miniconda${TRAVIS_PYTHON_VERSION:0:1}-latest-Linux-x86_64.sh;
24-
fi
25-
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
26-
curl -o miniconda.sh https://repo.continuum.io/miniconda/Miniconda${TRAVIS_PYTHON_VERSION:0:1}-latest-MacOSX-x86_64.sh;
27-
fi
27+
- wget -O miniconda.sh http://repo.continuum.io/miniconda/Miniconda${TRAVIS_PYTHON_VERSION:0:1}-latest-Linux-x86_64.sh
2828
- bash miniconda.sh -b -p $HOME/miniconda
2929
- export PATH=$HOME/miniconda/bin:$PATH
3030
- conda config --set always_yes yes
31+
- conda config --add channels conda-forge
3132
- conda update conda python
3233
#-----------------------------------------------------------------------------
3334
# Create conda environment for spt_compute
3435
#-----------------------------------------------------------------------------
3536
- conda create -n spt_compute python=$TRAVIS_PYTHON_VERSION
3637
- source activate spt_compute
37-
- conda config --add channels conda-forge
3838
- conda env update -n spt_compute -f conda_env.yml
3939
- source deactivate
4040
- source activate spt_compute

0 commit comments

Comments
 (0)