Skip to content

Commit

Permalink
Rationalize
Browse files Browse the repository at this point in the history
  • Loading branch information
shuds13 committed May 22, 2020
1 parent d479e3b commit e89ed13
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,28 +64,20 @@ install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
COMPILERS=clang_osx-64=9.0.1;
MUMPS=mumps-mpi=5.1.2=haf446c3_1007;
elif [[ "$TRAVIS_PYTHON_VERSION" == "3.8" ]]; then
COMPILERS=gcc_linux-64;
sudo add-apt-repository -y ppa:octave/stable;
sudo apt-get update -qq;
sudo apt install -y octave;
else
COMPILERS=gcc_linux-64;
MUMPS=mumps-mpi=5.1.2=h5bebb2f_1007;
sudo add-apt-repository -y ppa:octave/stable;
sudo apt-get update -qq;
sudo apt install -y octave;
fi

- conda install $COMPILERS
- conda install libblas libopenblas # Prevent 'File exists' error

- if [[ "$TRAVIS_PYTHON_VERSION" == "3.8" ]]; then
echo -e "MPI is $MPI";
export PETSC_CONFIGURE_OPTIONS='--with-batch --with-mpi=0';
conda install mpi4py scipy mpich;
conda install nlopt mpi4py scipy mpich;
export PETSC_CONFIGURE_OPTIONS='--with-batch';
pip install petsc petsc4py;
conda install nlopt;
else
conda install nlopt petsc4py petsc $MUMPS mpi4py scipy $MPI;
fi
Expand Down

0 comments on commit e89ed13

Please sign in to comment.