@@ -17,24 +17,24 @@ notifications:
17
17
18
18
before_install :
19
19
# -----------------------------------------------------------------------------
20
+ # Install gcc, g++, gfortran
21
+ # -----------------------------------------------------------------------------
22
+ - sudo apt-get update -qq
23
+ - sudo apt-get install -y g++ gfortran
24
+ # -----------------------------------------------------------------------------
20
25
# Install minconda
21
26
# -----------------------------------------------------------------------------
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
28
28
- bash miniconda.sh -b -p $HOME/miniconda
29
29
- export PATH=$HOME/miniconda/bin:$PATH
30
30
- conda config --set always_yes yes
31
+ - conda config --add channels conda-forge
31
32
- conda update conda python
32
33
# -----------------------------------------------------------------------------
33
34
# Create conda environment for spt_compute
34
35
# -----------------------------------------------------------------------------
35
36
- conda create -n spt_compute python=$TRAVIS_PYTHON_VERSION
36
37
- source activate spt_compute
37
- - conda config --add channels conda-forge
38
38
- conda env update -n spt_compute -f conda_env.yml
39
39
- source deactivate
40
40
- source activate spt_compute
0 commit comments