Skip to content

Commit

Permalink
travis compatibility fix
Browse files Browse the repository at this point in the history
  • Loading branch information
povanberg authored May 9, 2019
1 parent 9237cf1 commit e04b41c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if [ $? -eq 0 ]; then
echo "mCmake found.";
else
echo "Cmake not found, installing...";
apt-get install cmake;
apt-get -y install cmake;
echo "Cmake installed.";
fi

Expand All @@ -24,7 +24,7 @@ if [ $? -eq 0 ]; then
echo "G++ found.";
else
echo "G++ not found, installing...";
apt-get install g++;
apt-get -y install g++;
export CC=gcc;
export CXX=g++;
echo "G++ installed.";
Expand All @@ -35,7 +35,7 @@ if [ $? -eq 0 ]; then
echo "Gfortran found.";
else
echo "Gfortran not found, installing...";
apt-get install gfortran;
apt-get -y install gfortran;
echo "Gfortran installed.";
fi

Expand All @@ -44,7 +44,7 @@ if [ $? -eq 0 ]; then
echo "Lapack/Blas found.";
else
echo "Lapack/Blas not found, installing...";
apt-get install libblas-dev liblapack-dev;
apt-get -y install libblas-dev liblapack-dev;
echo "Lapack/Blas installed.";
fi

Expand Down

0 comments on commit e04b41c

Please sign in to comment.