ocramz / petsc-hs

Haskell bindings for PETSc and SLEPc
GNU General Public License v3.0
20 stars 4 forks source link

Use Travis APT addons #7

Closed bkaestner closed 8 years ago

bkaestner commented 8 years ago

Instead of using sudo, use Travis' APT addons to install additional packages.

It's somewhat hidden in the dependency documentation. gfortran is on the whitelist, so it should work.

bkaestner commented 8 years ago

:warning: The before_install step mkdir petsc can fail, see https://travis-ci.org/ocramz/petsc-hs/builds/87717355:

$ mkdir petsc
mkdir: cannot create directory `petsc': File exists
The command "mkdir petsc" failed and exited with 1 during .
Your build has been stopped.

However, Travis will still report the build as success. I'm again on Windows, but IIRC, mkdir -p petsc should fix this step.

ocramz commented 8 years ago

Thanks, I'm trying it out :)