Skip to content

Commit

Permalink
Lets try sourcing .bashrc
Browse files Browse the repository at this point in the history
  • Loading branch information
stoiveroberts committed Dec 17, 2022
1 parent 921b668 commit 44c15af
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tools/install_conda_travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ PYTHON_VERSION=${PYTHON_VERSION:-"3.10"}
ANUGA_BITS=${ANUGA_BITS:-"64"}



sudo apt-get update -q
sudo apt-get install gfortran git

# Deactivate the travis-provided virtual environment and setup a
# conda-based environment instead
deactivate || echo "deactivate failed"
Expand All @@ -28,9 +24,12 @@ chmod +x Miniforge3.sh && ./Miniforge3.sh -b

export PATH=/home/travis/miniforge3/bin:$PATH

conda update --yes conda
conda init bash

source ~/.bashrc

conda update --yes conda

# Configure the conda environment
conda create -n anuga_env --yes python=$PYTHON_VERSION pip numpy scipy meshpy cython netcdf4 pytest matplotlib gdal dill gitpython Pmw pymetis utm mpi4py
conda activate anuga_env
Expand Down

0 comments on commit 44c15af

Please sign in to comment.